Open madureira opened 1 month ago
First of all, congratulations and thank you for your excellent work.
I'm using version 2.0.3 of the context-menu-plugin and I'm trying to set the delay option, but it doesn't seem to have any effect.
2.0.3
context-menu-plugin
delay
I am using rete version 2.0.3.
rete
I followed the information described on this documentation page.
I created a fork of the example available in the documentation to make it easier to visualize the problem.
https://codesandbox.io/s/rete-js-v2-context-menu-forked-59d9tq?file=/src/editor.ts
0
ContextMenuPlugin
I expected the submenus to disappear immediately when pointing the mouse to another menu option, given that I set the delay to 0
Codesandbox
Chrome Version 127.0.6533.72, Node.js v20.15.1
No response
Describe the bug
First of all, congratulations and thank you for your excellent work.
I'm using version
2.0.3
of thecontext-menu-plugin
and I'm trying to set thedelay
option, but it doesn't seem to have any effect.I am using
rete
version2.0.3
.I followed the information described on this documentation page.
I created a fork of the example available in the documentation to make it easier to visualize the problem.
Example to reproduce
https://codesandbox.io/s/rete-js-v2-context-menu-forked-59d9tq?file=/src/editor.ts
How to reproduce
delay
attribute with the value0
when instantiating theContextMenuPlugin
classExpected behavior
I expected the submenus to disappear immediately when pointing the mouse to another menu option, given that I set the
delay
to0
Dependencies
Codesandbox
Platform
Chrome Version 127.0.6533.72, Node.js v20.15.1
Relevant log output
No response
Code of Conduct