-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.
Description
Issue summary
When open a modal in some conditions (reproduction), the fade up animation effect is seems be interrupted.
After debugging, it seems the transition of stage .Polaris-Modal-Dialog--entering is not needed, then add transition: none to this css selector, the problem fixed.
here is the sandbox reproduction: https://codesandbox.io/s/m7n0q878k8
Expected behavior
Always show the modal's entering animation.
Actual behavior
Not always show the modal's entering animation.
Steps to reproduce the problem
- go to the reproduction example
- click the
persist actionsin the resource list - click
open modal - the modal showed without animation
Hack the problem:
- click the
Add the fix of modal transitionbutton - click again of the persist actions's
open modal - the animation work
Reduced test case
https://codesandbox.io/s/m7n0q878k8
Specifications
- Are you using the React components? (Y/N): Y
- Polaris version number: 3.12.0, 3.xx
- Browser: chrome version 74
- Device: macbook
- Operating System: macos
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.