-
Notifications
You must be signed in to change notification settings - Fork 0
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
Overlay Drawer component #476
Conversation
@beepdotgov I'm still refining the animations (especially on close), but lmk how this is looking to you so far. |
@echappen This is looking really stellar! I love how quickly you were able to get this up and running, and the skeleton’s really looking (and working) great so far. A couple notes, if they’re helpful while you’re working:
Excited to see this evolve, it already looks great! |
- closing animation does not work in Firefox
@beepdotgov Thanks for taking a look! I just pushed some improvements to the animations. Dialogs achieve the overlay with a In other news, the button transition should be fixed, the background should be darker for all browsers, and the timing should now be more comparable to the Codepen. 🤞 |
@echappen Just two commits later, and this looks even better. Confirmed that the One question: when the PR’s ready, will we be able to dismiss the overlay by clicking on the Thanks again for the preview! |
@beepdotgov Not sure I comprehend—do you mean by clicking outside of the dialog? If so, then you read my mind because I was about to bring that up!... Default dialog behavior is: when opening a dialog with the native Do you think both modals should behave the same way? Happy to jump on a call to talk through. |
Oops, yes — that’s exactly what I meant, @echappen! (So sorry about that; that should’ve read “clicking on the
So reflexively, I would expect them to behave the same way. But! I don’t have any direct experience with |
@beepdotgov Thanks! And same, I'm also fairly new to dialog elements and am curious to see how they fare. |
@beepdotgov Please keep the feedback coming if you have any, but at this point, this is ready for a dev review @cannandev or @hursey013 |
@echappen I think this is still looking great! Two things I noticed:
(Not sure if 2 is a browser implementation bug, or something we can address. Just thought I’d note it.) |
@beepdotgov Thanks for catching! I thought I had solved the overlay animation issue in Firefox and it was just a matter of handling the background, but alas... After chatting with folks in engineering sync, we decided to mark this as a bug in a separate/non-blocking GH issue, since this behavior isn't preventing users from performing the tasks.
I haven't found any official documentation about this (only a bunch of SO threads), but it looks like certain browsers allow tabbing into the browser controls with |
@echappen Sounds good on both fronts! Opening a non-blocking issue for the closing animation makes sense, and I’m all about leaning on browser defaults as much as possible. (Maybe we open a non-blocking issue for that too? Dunno, just thought it might be worth logging/tracking somewhere.) Thank you so much for digging into this, and in so much detail! |
Also noting other things we decided in Engineering sync:
|
I think at this point, it'll be easier to work on the above items in this PR if we want to close this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on what we talked about in engineering sync, LGTM! Other issues will be addressed in this issue
Changes proposed in this pull request:
OverlayDrawer
componentHow to test
/prototype/tables
Notes
Screenshots
Open drawer:
Mobile:
Related issues
Part of #468
Submitter checklist
Security considerations
None, UI element only