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 and MenuTrigger API #17271
Menu and MenuTrigger API #17271
Conversation
Adds the Menu and MenuTrigger compoenents to render popup and trigger element to control the popup Menu renders a wrapper slot around expected `MenuList` for popup positioning MenuTrigger renders no DOM but clones an only child with correct popup event handling
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 9801e6f:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: a8552af0ad666f77e2ba8a3aa3768611d6fed3a5 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
packages/react-menu/src/components/MenuTrigger/useMenuTrigger.ts
Outdated
Show resolved
Hide resolved
packages/react-menu/src/components/MenuTrigger/renderMenuTrigger.tsx
Outdated
Show resolved
Hide resolved
packages/react-menu/src/components/MenuTrigger/useMenuTrigger.ts
Outdated
Show resolved
Hide resolved
🎉 Handy links: |
🎉 Handy links: |
* Menu and MenuTrigger API Adds the Menu and MenuTrigger compoenents to render popup and trigger element to control the popup Menu renders a wrapper slot around expected `MenuList` for popup positioning MenuTrigger renders no DOM but clones an only child with correct popup event handling * fix types * fixes * useCallback * Change files * fix controlled example * fix tests
* Menu and MenuTrigger API Adds the Menu and MenuTrigger compoenents to render popup and trigger element to control the popup Menu renders a wrapper slot around expected `MenuList` for popup positioning MenuTrigger renders no DOM but clones an only child with correct popup event handling * fix types * fixes * useCallback * Change files * fix controlled example * fix tests
Adds the Menu and MenuTrigger compoenents to render popup and
trigger element to control the popup
Menu renders a wrapper slot around expected
MenuList
for popuppositioning
MenuTrigger renders no DOM but clones an only child with correct popup
event handling
TODO before completing - add tests
Pull request checklist
$ yarn change
Description of changes
(give an overview)
Focus areas to test
(optional)