[material-ui][menu] It doesn't accept TransitionComponent={(props)=>...}
#38644
Labels
component: menu
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/transitioncomponentmenubug-y6llsv?file=/Demo.tsx
Steps:
Current behavior 😯
The menu will work once, then the menu trigger fails.
The console has these errors:
Expected behavior 🤔
The menu renders with the provided transition, then goes away, but doesn't break the page so it can be accessed again.
Context 🔦
I want to Slide relative to a container, So I'd need to pass the container ref to the Slide instead of just referencing the function constructor.
Your environment 🌎
Browsers
``` Replicates in codesandbox in - Firefox 116.0.3 (64-bit), - Chrome Version 116.0.5845.111 (Official Build) (64-bit) - Min v1.28.1 - Edge Version 116.0.1938.54 ```The text was updated successfully, but these errors were encountered: