mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 12:41:41 +03:00
55db9f9719
Add opening and closing animations to modal. The usage of conditional rendering as shown below is not recommended: ``` open ? ( <Modal open={open} ... /> ) : null, ``` When the modal is closed, it gets removed from the DOM instantly without running any exit animations that might be defined in the Modal component. |
||
---|---|---|
.. | ||
admin | ||
component | ||
core | ||
electron | ||
electron-api | ||
graphql | ||
i18n | ||
native | ||
templates | ||
web |