T
TanStack3y ago
deep-jade

Troubles with integration to MUI Menu

Hi, I'm testing the lib, to integrate it in front end, and i came across two weird issues
6 Replies
deep-jade
deep-jadeOP3y ago
i made sendbox illustrating the problem https://codesandbox.io/s/crazy-chatterjee-bvbpec?file=/src/App.tsx:2032-2035 I have Menu component and i wanted to run vitrtualized list inside
deep-jade
deep-jadeOP3y ago
But for some reason list just suddenly ends
No description
deep-jade
deep-jadeOP3y ago
The second problem is more general: The menu has transition and if i keep transition the result is incorrect measure
<Menu
...
transitionDuration={0} // <<< CHANGE OR COMMENT THIS
...
/>
<Menu
...
transitionDuration={0} // <<< CHANGE OR COMMENT THIS
...
/>
deep-jade
deep-jadeOP3y ago
No description
like-gold
like-gold3y ago
Hi, from quick look, first problem is that the ref is wrong, as it's not the scroller element, one option would be to https://codesandbox.io/s/condescending-greider-b4so8j?file=/src/App.tsx
deep-jade
deep-jadeOP3y ago
thank you

Did you find this page helpful?