-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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 has nested items support using popover #2148
Conversation
anchorEl={this.state.anchorEl} | ||
open={this.state.open} | ||
onRequestClose={this._onRequestClose}> | ||
<Menu desktop={desktop} disabled={disabled} style={{position:'relative'}}> |
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.
I think that we should move {position:'relative'}
in a shared variable.
I think that we should add PureRenderMixin to the Menu
component in the future.
This would prevent unnecessary rerender.
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.
done
@chrismcv I have just made minor feedbacks. Nice work 👍. |
1cdd14b
to
9379166
Compare
@oliviertassinari - bug fixed, and other changes made. Can squash if you like. |
@oliviertassinari - want a squash here? |
Let's take care of this issue first
I this something easy to fix? |
@oliviertassinari - how about now? I think we should hold off merging until it works. (I'm around today and tomorrow to resolve further if needs be) |
892e00d
to
2b709f2
Compare
@oliviertassinari should be good now! (squashed too) |
2b709f2
to
5effa88
Compare
😭 sorted I think |
5effa88
to
b744d9b
Compare
@oliviertassinari - done |
@chrismcv Finally, I still see some weird stuff, but I think that it should be ok for a first iteration! |
[Menu] Add nested items support using popover
@oliviertassinari yeah - apologies that took so long! thanks 🎉 |
@chrismcv I can start working on enforcing new eslint rules 😉 |
Reworked from #1845.
This one might need some UX review.