material-tailwind
material-tailwind copied to clipboard
onAnimationEnd handler for Dialog component?
Hello, I need to add css into my custom header for removing flickering issue (When it is fixed element), like something body element you add padding right style when dialog is opened, as the I need to give this type of style into my custom header.
But I didn't find any handler for manage it like `onAnimationEnd"
<Dialog
open={open}
handler={onClose}
animate={{
mount: { y: 0 },
unmount: { y: -15 },
}}
size="md"
className="p-5"
dismiss={{
ancestorScroll: false,
enabled: true,
referencePress: false
}}
>
</Dialog>
Actually I want to add some css when animationEnd, more clearly when you removed padding right and overflow hidden from body element? How can I do that?