【Cubism SDKのバージョン】CubismSdkForWeb-4-r.6.2
【OS名・バージョン】Windows10
【開発使用ツール】Visual Studio Code
【不具合の状況】
再現方法
- デモをChromeで表示
- 開発者ツールを開いてエミュレータから iPhone SE を選択
- リロード
上記の手順でログを確認すると以下の警告が出ます。
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
[Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
lappdelegate.ts 94, 95行目でontouchstart, ontouchmoveにイベントを追加する際、オプション { passive: true } を設定すれば警告は消えるのでご対応のほど検討頂けると幸いです。