prevent closing new child popup on parent mouseout
This commit is contained in:
parent
e4d302e786
commit
3d28a3a405
@ -56,6 +56,7 @@ class Frontend {
|
|||||||
window.addEventListener('mousedown', this.onMouseDown.bind(this));
|
window.addEventListener('mousedown', this.onMouseDown.bind(this));
|
||||||
window.addEventListener('mousemove', this.onMouseMove.bind(this));
|
window.addEventListener('mousemove', this.onMouseMove.bind(this));
|
||||||
window.addEventListener('mouseover', this.onMouseOver.bind(this));
|
window.addEventListener('mouseover', this.onMouseOver.bind(this));
|
||||||
|
window.addEventListener('mouseout', this.onMouseOut.bind(this));
|
||||||
window.addEventListener('mouseup', this.onMouseUp.bind(this));
|
window.addEventListener('mouseup', this.onMouseUp.bind(this));
|
||||||
window.addEventListener('resize', this.onResize.bind(this));
|
window.addEventListener('resize', this.onResize.bind(this));
|
||||||
|
|
||||||
@ -149,6 +150,10 @@ class Frontend {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onMouseOut(e) {
|
||||||
|
this.popupTimerClear();
|
||||||
|
}
|
||||||
|
|
||||||
onFrameMessage(e) {
|
onFrameMessage(e) {
|
||||||
const handlers = {
|
const handlers = {
|
||||||
popupClose: () => {
|
popupClose: () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user