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

Menu popup: hide on outside click #1070

Closed
raDiesle opened this issue Oct 30, 2019 · 2 comments
Closed

Menu popup: hide on outside click #1070

raDiesle opened this issue Oct 30, 2019 · 2 comments
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team

Comments

@raDiesle
Copy link

feature request

Current behavior
if user opens menu, and wants to click somewhere else, e.g. some input field,
the event is not fired on the element and the menu popup is not closing

Expected behavior

  • on outside click, it should close menu popup, like dropdown does.
  • Event should not be catched on all components

I tried to register my own events with ref, but its not supported by component

  • PrimeReact version:
    3.3.2
@mertsincan
Copy link
Member

Hi @raDiesle,

I couldn't replicate it. Could you please attach a codesandbox link for us to replicate? Please see our sample; https://www.primefaces.org/primereact/#/menu

It works fine for me. Could you please try it?

Best Regards,

@mertsincan mertsincan added the Resolution: Cannot Replicate Issue could not be replicated by Core Team label Nov 5, 2019
@raDiesle
Copy link
Author

raDiesle commented Nov 13, 2019

Problem was not related to PrimeReact but our CSS

@raDiesle raDiesle reopened this Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team
Projects
None yet
Development

No branches or pull requests

2 participants