We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://codesandbox.io/s/romantic-cloud-1y8kmx?file=/src/Popover2Example.tsx
showContextMenu()
context menu is only displayed the first time, but ignored on subsequent calls to this imperative API
the context menu should show every time when calling showContextMenu()
This can be worked around by calling hideContextMenu() in the onClose handler:
hideContextMenu()
onClose
showContextMenu({ content: menu, targetOffset: { left: e.clientX, top: e.clientY, }, onClose: hideContextMenu, });
... but that shouldn't be required.
The text was updated successfully, but these errors were encountered:
adidahiya
Successfully merging a pull request may close this issue.
Environment
Code Sandbox
https://codesandbox.io/s/romantic-cloud-1y8kmx?file=/src/Popover2Example.tsx
Steps to reproduce
showContextMenu()
more than onceActual behavior
context menu is only displayed the first time, but ignored on subsequent calls to this imperative API
Expected behavior
the context menu should show every time when calling
showContextMenu()
Possible solution
This can be worked around by calling
hideContextMenu()
in theonClose
handler:... but that shouldn't be required.
The text was updated successfully, but these errors were encountered: