[docs] Menu unstyled page auto focus to useMenu and useMenuItem hooks demo #31981
Closed
2 tasks done
Labels
component: menu
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
package: base-ui
Specific to @mui/base
Duplicates
Latest version
Current behavior 😯
Upon opening the Menu unstyled componet doc, the
useMenu and useMenuItem hooks
demo is set as the active element automatically, force scrolling down to this demo instead of the start of the page.Expected behavior 🤔
Disable set focus to elements in this demo. So user can view this page from the top upon visiting the page.
Steps to reproduce 🕹
Steps:
Context 🔦
Encountered this while working on #31012, didn't realize there were two more demo above until fiddling around with the page for a while. Would love to work on a PR if needed.
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: