modal: prevent touchend from reaching inner widgets
This commit is contained in:
parent
8bd599f049
commit
faccdd8e5c
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue