[Dialog] Extra animation of Dialog container (Modal FocusTrap is not synchronised with animation events) #16
Closed as not planned
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/wizardly-aj-szlkuw
Steps:
- Add
position: absolute
toMuiDialog-root
- Add Slide Transition Component with
direction="left"
Current behavior 😯
Dialog
container (body by default) animated together with Dialog
Component.
Expected behavior 🤔
Should not animate Dialog container.
Animation works correct with enabled option disableAutoFocus
.
Animation works if add Input with enabled autoFocus
inside Dialog
content.
Context 🔦
Styling Dialog, custom Dialog animation
Your environment 🌎
npx @mui/envinfo
Google Chrome Version 108.0.5359.124 (Official Build) (x86_64)
MacOs Monterey Version 12.6