Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the first in a series of tiny micro interaction animations I hope to add across the UI. It adds a "fade & appear" animation to any modal you open. It's fast, but it's smooth, and it's non intrusive. However this animation also brings with us a challenge that needs solving — right now the "Close dialog" tooltip shows every time a modal is opened. This is a problem on its own because it sends mixed signals to the user: I just opened this dialog, should I close it again? But specifically in this case, the tooltip appears mid-animation which means it's not correctly aligned. How do we fix this? Here are some thoughts: - Don't focus the close button. Focus the header, or the modal itself instead, so a single press of the "Tab" button focuses it. I volunteer to make a giant in-your-face focus style for the modal, a dashed line inside the entire thing, if we can do this. - Don't show the tooltip when the close button is focused on modals. What other solutions can you think of? It really is a bad experience for sighted users as it is.
- Loading branch information