refactor(popup): match styles/reduce paint flicker (#136)
* refactor: match popup styles/reduce paint flicker
* fix: useSchedules hook
* feat: popup ✨
* fix: repaint issue on popup body
* fix: initial active schedule
* fix: center justification
* fix: reactivity error
This commit is contained in:
@@ -45,9 +45,10 @@ export default function ScheduleDropdown(props: Props) {
|
||||
</Disclosure.Button>
|
||||
|
||||
<Transition
|
||||
className='contain-paint max-h-55 origin-top overflow-auto transition-all duration-400 ease-out-expo'
|
||||
className='contain-paint max-h-55 origin-top overflow-auto transition-all duration-400 ease-in-out-expo'
|
||||
enterFrom='transform scale-98 opacity-0 max-h-0!'
|
||||
enterTo='transform scale-100 opacity-100 max-h-55'
|
||||
leave='ease-out-expo'
|
||||
leaveFrom='transform scale-100 opacity-100 max-h-55'
|
||||
leaveTo='transform scale-98 opacity-0 max-h-0!'
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user