-
Notifications
You must be signed in to change notification settings - Fork 120
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
chore: persist menu in DOM #969
chore: persist menu in DOM #969
Conversation
Hey! Those are your new endpoints: https://feat-lf7878jumpernextjsreitera.jumper.exchange |
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.
This is unfortunate, but I wasted too much time with the MUI clickawaylistener and decided to drop it in favor of a component which handles just that.
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.
Would prefer to remove the div to be able to keep the click on the widget and not the double click
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.
LGTM
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.
Would prefer to remove the div to be able to keep the click on the widget and not the double click
}} | ||
/> | ||
</MenuToggle> | ||
</NavbarButtonsContainer> | ||
<MainMenu anchorEl={mainMenuAnchor.current} /> |
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.
why changing the JSX org on this?
@@ -82,7 +82,10 @@ export const WallettButtons = () => { | |||
<ConnectButton | |||
// Used in the widget | |||
id="connect-wallet-button" | |||
onClick={handleWalletSelectClick} | |||
onClick={(event) => { | |||
event.stopPropagation(); |
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.
Why adding this? Is it related to the clickAwayListener?
…menus-appear-in-dom
Small bug found on the feature branch when clicking on the menu, the page is scrolling to the bottom. |
Ticket: https://lifi.atlassian.net/browse/LF-7878