You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of the Carbon Design System are you using?
^10.27.0
What did you expect to happen?
For modals to animate smoothly on all screen sizes
What happened instead?
Modal animations are unnecessarily choppy and unreliable. When seeing the animation on very large screens (5120x1440) it tips over a point where it affects usability - since the animation can take up to ~3 seconds to finish animate - in a choppy rate.
What WCAG 2.1 checkpoint does the issue violate?
Less of an accessibility issue, more of a usability issue.
Steps to reproduce the issue
Mount a modal with a trigger
Try to open the modal
Notice how the animation might run choppy on large displays or on less performant devices.
Additional information
Proposed solution: Set the background-color property on .bx--modal to be rgba(22,22,22,0.5) ($overlay), remove the background-color transition and just keep the opacity transition. This way the only thing animating will be opacity, which will run a lot more smoothly. Generally you want mostly transition/animate the opacity and transform properties, for performance reasons.
The text was updated successfully, but these errors were encountered:
Environment
Qubes OS (but affects all)
Firefox ESR (but affects all)
Detailed description
^10.27.0
For modals to animate smoothly on all screen sizes
Modal animations are unnecessarily choppy and unreliable. When seeing the animation on very large screens (5120x1440) it tips over a point where it affects usability - since the animation can take up to ~3 seconds to finish animate - in a choppy rate.
Less of an accessibility issue, more of a usability issue.
Steps to reproduce the issue
Additional information
Proposed solution: Set the background-color property on
.bx--modal
to bergba(22,22,22,0.5)
($overlay), remove the background-color transition and just keep theopacity
transition. This way the only thing animating will be opacity, which will run a lot more smoothly. Generally you want mostly transition/animate theopacity
andtransform
properties, for performance reasons.The text was updated successfully, but these errors were encountered: