-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: Popup
component
#372
Conversation
Benchmark for 32183e0Click to view benchmark
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
==========================================
+ Coverage 70.62% 71.00% +0.37%
==========================================
Files 158 160 +2
Lines 15025 15108 +83
==========================================
+ Hits 10611 10727 +116
+ Misses 4414 4381 -33 ☔ View full report in Codecov by Sentry. |
Benchmark for bc47f54Click to view benchmark
|
How about renaming this to |
Doesn't Dialog imply that there must be a dialog to be made? Like, accept, cancel, whatever? Popup seems more generic to me 🤔 |
Sure, but I just thought that since HTML calls it that, it might be more familiar. Also, it might not always be a "popup", but perhaps a more permanent/complex "subwindow". Like it could have a whole form in it or something, but at that point I wouldn't call it a popup. |
What about "Modal"? |
Sure, as long as interaction with the rest of the app is disabled. |
I'll leave it as "Popup" |
I should probably support closing popups with Esc |
I'll open an issue for this |
Closes #371
Depends on #268