Skip to content
New issue

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

onShown and onHidden continue appearing in the doc after been removed #252

Open
JuanmaMenendez opened this issue Jul 12, 2023 · 2 comments

Comments

@JuanmaMenendez
Copy link

Do you want to request a feature or report a bug?
bug

What is the current behavior?
The current doc continues showing onShown and onHidden which were removed https://fkhadra.github.io/react-contexify/api/menu

What is the expected behavior?
Delete the props from the doc and show an alternative to 'execute a callback' if the menu was shown.

@ajboni
Copy link

ajboni commented Sep 22, 2023

Hey @JuanmaMenendez did you eventually find a workaround for 'execute a callback' after hidden?

@celiamercier
Copy link

celiamercier commented Nov 1, 2023

@ajboni you can use the onVisibilityChange callback : https://fkhadra.github.io/react-contexify/track-menu-visibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants