Repository navigation
feat(core): Sheet edge-anchored overlay panel with swipe-to-dismiss… - #3695
Prajwalraut29 wants to merge 1 commit into
Conversation
… and overlay stack (RFC meta#3675) Implements the Sheet component as specified in RFC meta#3675. - 4 sides (start/end/top/bottom) via the side prop - Modal (showModal) with scrim; non-modal (show) with hasScrim={false} - Entry/exit slide animation via @starting-style - Collapse-to-rail for non-modal side panels - Opt-in mobile swipe-to-dismiss via hasDragHandle - data-autofocus on open, focus restore on close - useOverlayStack hook for coordinated LIFO Escape dismissal - useSwipeToDismiss hook for mobile swipe gestures - Full doc.mjs with best practices and i18n - 5 Storybook stories: BottomSheet, Inspector, NonModal, TopSheet, Stacked - 43 tests covering all states and edge cases
|
@Prajwalraut29 is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
cixzhang
left a comment
There was a problem hiding this comment.
Thanks for working on this. At the moment the sheet spec isn't ready yet and I suspect it'll likely change significantly when it is ready.
|
Thank you for this, @Prajwalraut29 — this is a genuinely strong implementation. Four sides, modal/non-modal, the We've decided to take the Sheet/Drawer work in a different architectural direction, so I'm going to close this PR — I want to be transparent about why rather than leave it hanging:
None of that is a reflection on the quality here — your |
… and overlay stack (RFC #3675)
Implements the Sheet component as specified in RFC #3675.