diff --git a/CHANGELOG.md b/CHANGELOG.md index 580b6357..7079bfe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - inspector: script editor: cursor alignment issue in indented lines - clone: prevent freeze and print an error when attempting to create a circular clone + - modal: regression on android that prevents focusing input widgets in modals ## 1.14.5 diff --git a/src/client/widgets/containers/modal.js b/src/client/widgets/containers/modal.js index 674d8e51..c5d1d11e 100644 --- a/src/client/widgets/containers/modal.js +++ b/src/client/widgets/containers/modal.js @@ -105,8 +105,8 @@ class Modal extends Panel { } else { this.on('fast-click',(e)=>{ if (e.capturedByEditor === true) return - e.detail.preventOriginalEvent = true if (e.target === this.toggle) { + e.detail.preventOriginalEvent = true this.setValue(1, {sync:true, send:true}) } }, {element: this.container})