Skip to content

[Dialog] Extra animation of Dialog container (Modal FocusTrap is not synchronised with animation events) #16

Closed as not planned
@proudman

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:

  1. Add position: absolute to MuiDialog-root
  2. 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

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions