作成日: 2021/07/07 最終更新日: 2022/04/27
文書種別
不具合
発生環境
Windows 10のタッチデバイス
Android
状況
修正済み
詳細
InputDateのドロップダウンボタンをタップしてカレンダーを開いても、表示された後にすぐ閉じてしまいます。
回避方法
この問題は2022J v1(4.5.20221.334)で修正されました。
※修正版を適用しない場合の回避方法は以下の通りです。
下記のスクリプトを実装する方法が有効です。
<script>
c1.documentReady(function () {
if (!wijmo.isiOS()) {
// subscribe with capture
document.addEventListener('mousedown', (e) => {
// if emulated event, cancel it
if (!e.isTrusted) {
e.stopPropagation();
}
}, true);
}
});
</script>
<script>
c1.documentReady(function () {
if (!wijmo.isiOS()) {
// subscribe with capture
document.addEventListener('mousedown', (e) => {
// if emulated event, cancel it
if (!e.isTrusted) {
e.stopPropagation();
}
}, true);
}
});
</script>