-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix/2423 info popup state always open #2504
Fix/2423 info popup state always open #2504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@salindae25 congrats for your first contribution with Amplication
Great work
@salindae25 Can we remove onClick at MenuItem on line 110 |
yes, it does not affect the functionality of the popover menu. |
@salindae25 The reason is, cc: @yuval-hazaz |
sure i'll remove the click event |
remove the menu item click event. since menu open on hover.
Issue Number: #2423
PR Details
open={supportMenuOpen}
from the Popover element. ( this will allow it to have default behavior)onOpen={handleSupportClick}
to the Popover element. ( this will make sure to fire the trackEvent)supportMenuOpen
state related references.PR Checklist
npm test
doesn't throw any errorIMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.