mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
fix: click event stop propagation #155
This commit is contained in:
@@ -126,6 +126,9 @@
|
||||
|
||||
.safe-area #console {
|
||||
@include safe-area(padding-bottom, 24px);
|
||||
&.js-input-hidden {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.js-input {
|
||||
@include safe-area(height, 24px);
|
||||
&.active {
|
||||
|
||||
@@ -347,9 +347,10 @@ export default class DevTools extends Emitter {
|
||||
$document.off(drag('end'), endListener)
|
||||
}
|
||||
$resizer.css('height', 10)
|
||||
$navBar.on('contextmenu', (e) => e.preventDefault())
|
||||
$resizer.on(drag('start'), startListener)
|
||||
|
||||
$navBar.on('contextmenu', (e) => e.preventDefault())
|
||||
this.$container.on('click', (e) => e.stopPropagation())
|
||||
window.addEventListener('resize', this._checkSafeArea)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user