-
Notifications
You must be signed in to change notification settings - Fork 3
Description
What component (if applicable)
- URL for category: https://tailwindcss.com/plus/ui-blocks/documentation/dialog
- Component name: el-dialog
Describe the bug
Using the javascript-invoked show() method on the el-dialog HTML-version produces shaky animations on Firefox and mis-aligned animations on Safari with drawer component. I've tried 10 different implementations including calling the show() method when the drawer is simply on the DOM, after content is loaded, loading the drawer dynamically, using an event listener, using a delay, requestAnimationFrame, and others and I haven't yet seen a smooth animation.
To Reproduce
Steps to reproduce the behavior:
- Call show() on the HTML element in javascript using Safari or Firefox
- Watch janky animation
Expected behavior
I expect the show() method on the HTML el-dialog element to smoothly animate the drawer onto the page across all browsers in a way that is well documented to avoid any confusion around how best to call it to avoid a poor UX.
Screenshots
See videos
Browser/Device (if applicable)
- OS: MacOS 15.6.1
- Browser: Safari v18.6, Firefox v142.0
Additional context