Version 2.0 Discussion #14
Locked
andria-dev
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
|
@ChrisBrownie55 onDismiss reads better |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@ChrisBrownie55 i believe wicg-inert causes a performance hit on complex apps with too many focusable elements causing jank while transitions are in progress, can we do away with this library? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Version 2.0.7 has been released! If anyone has any new ideas, please create an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a major change for this library, here is the current idea I have.
@reach/dialogfor handling all base modal capabilities while allowing react-spring to work still.overlayTransitionandcontentTransition.DialogOverlayandDialogContentlikely viaoverlayPropsandcontentProps.framer-motionsupport (haven't explored how this will work with framer motion's API yet, probably will be easier).<ModalTitle>component that handles accessibly labeling the modal witharia-labelledbyand a unique id via@reach/auto-id<ModalCloseButton>component that would setonClickon it's children toonRequestCloseThis is how the API currently looks:
Questions:
onRequestClosetoonDismiss?All suggestions are welcome
Beta Was this translation helpful? Give feedback.
All reactions