modal: prevent touchend from reaching inner widgets

This commit is contained in:
bordun 2019-09-11 19:55:05 +02:00
parent 98f04e121a
commit 9342d009af
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
- bug fixes
- package: broken build from sources on Windows
- editor: incorrect position when moving a widget from an edge with the keyboard
- modal: prevent touchend event from reaching the inner widgets when opening the container
- widgets
- frames: allow loading local html files without requiring a web server to serve them

View file

@ -87,6 +87,7 @@ module.exports = class Modal extends Panel {
} else {
this.light.addEventListener('fast-click',(e)=>{
if (e.capturedByEditor === true) return
e.detail.preventOriginalEvent = true
this.setValue(1, {sync:true, send:true})
})
}