Skip to content

Modal/Drawer #117

Dec 2, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

ANS

  1. 將 Modal 和 Drawer 共用的部分,從 <Overlay> + <SlideFade> + 中間實作的 keyboard event capture,應該能包成一個 hook export 出來 => useModalContainer + <SlideFadeOverlay />

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@travor20814
Comment options

travor20814 Dec 7, 2021
Maintainer Author

Answer selected by travor20814
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Components that we need to rewrite it
1 participant