-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use css to animate popups and the dialog element for accessibility #600
Comments
Agreed. This makes it difficult to override or customise the animation per project. Currently we have to edit core js or use
Agreed. The less behaviour to manually set the better.
This offers greater flexibility for differing animation styles. From pre-defined CSS transitions to creating custom keyframe animations. Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#animating_dialogs |
I've not used the I've instead used a pattern similar to our onscreen behaviour (as you'd previously suggested) by using before and after classes on named animations. Here we have show and hide animations with a before and after state each. |
Subject of the issue
Using velocity to animate the drawer and notify is not great.
Using tabindex + aria-hidden to manage popup layers is not great.
We can now use css to animate and the dialog element to control popup layers.
The text was updated successfully, but these errors were encountered: