-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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(MenuItem): prevent to dismiss menu on scroll inside menu #17294
fix(MenuItem): prevent to dismiss menu on scroll inside menu #17294
Conversation
packages/fluentui/react-northstar/src/components/Menu/MenuItem.tsx
Outdated
Show resolved
Hide resolved
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.
We discussed this in offline and a fix makes sense for me, thanks for doing this 👍
….tsx Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
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 d75d24f:
|
Asset size changes
Over Tolerance (1024 B) Over Baseline Below Baseline New Removed 1 kB = 1000 B Baseline commit: d9fb5e3ce8dfdf0f6fdb5dee945a29243ec85dc9 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
* fix(MenuItem): prevent to dimiss menu on scroll inside menu * fix(MenuItem): add changelog * Update packages/fluentui/react-northstar/src/components/Menu/MenuItem.tsx Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com> Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…ft#17294) * fix(MenuItem): prevent to dimiss menu on scroll inside menu * fix(MenuItem): add changelog * Update packages/fluentui/react-northstar/src/components/Menu/MenuItem.tsx Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com> Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…ft#17294) * fix(MenuItem): prevent to dimiss menu on scroll inside menu * fix(MenuItem): add changelog * Update packages/fluentui/react-northstar/src/components/Menu/MenuItem.tsx Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com> Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
Pull request checklist
$ yarn change
Description of changes
Prevent submenu to be dismissed when scroll happens inside
Menu
Focus areas to test
(optional)