x-menu Quick click will cause the page card to die
Closed this issue · 7 comments
Bug Type: Component
Environment
- xel Version:
0.16.4
- Browser / OS:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4336.0 Safari/537.36
- Build Tool:
Vite
Reproduction
Related Component
x-menu
Reproduction Link
Steps to reproduce
Right -click quickly
Can you reproduce this bug with the latest version of Chrome? You seem to be using Chrome 89 which is very old.
Can you reproduce this bug with the latest version of Chrome? You seem to be using Chrome 89 which is very old.
I found nothing to do with chrome version, Affected by [x-contextmenu]
<x-menu id="x-menu">
<x-menuitem>copy</x-menuitem>
</x-menu>
document.body).addEventListener('contextmenu', (e) => {
e.preventDefault();
const elMenu = document.getElementById('x-menu');
elMenu.openAtPoint(e.clientX, e.clientY);
});
if i remove x-contextmenu, is good
Please report this bug on https://bugs.chromium.org/p/chromium/, I can't do it as I'm unable to reproduce the crash. In the Chromium bug report you should include the 16 digit crash ID as shown on chrome://crashes
Please report this bug on https://bugs.chromium.org/p/chromium/, I can't do it as I'm unable to reproduce the crash. In the Chromium bug report you should include the 16 digit crash ID as shown on chrome://crashes
you can run this https://github.com/u10k/xelMenu
Please provide unobfuscated test case.
Thanks, I managed to reproduce the bug and I fixed it in Xel version 0.17.2.