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
|
|
@ -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