We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dialog animation fails if element has autoFocus.
Expected animation to work.
Animation is janky.
No response
tailwind-animate
import { ModalOverlay, Modal, Dialog, DialogTrigger, Button } from 'react-aria-components' const Test = () => { return ( <DialogTrigger> <Button>Open modal</Button> <ModalOverlay className="fixed inset-0 flex items-center justify-end overflow-hidden bg-black/25 backdrop-blur duration-300 ease-out animate-in fade-in"> <Modal className="w-96 bg-white duration-300 ease-out animate-in slide-in-from-right"> <Dialog> <textarea className="border" autoFocus /> </Dialog> </Modal> </ModalOverlay> </DialogTrigger> ) } export default Test
<textarea />
Notes: While having <textarea autoFocus /> animating from the left or top works, but animating from right or bottom doesn't.
<textarea autoFocus />
1.0.1
Firefox, Chrome
macOS Sonoma 14.3.1
https://verveui.pro/components/modals/dialog
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Provide a general summary of the issue here
Dialog animation fails if element has autoFocus.
π€ Expected Behavior?
Expected animation to work.
π― Current Behavior
Animation is janky.
π Possible Solution
No response
π¦ Context
No response
π₯οΈ Steps to Reproduce
tailwind-animate
plugin:<textarea />
makes the animation work again.Notes:
While having
<textarea autoFocus />
animating from the left or top works, but animating from right or bottom doesn't.Version
1.0.1
What browsers are you seeing the problem on?
Firefox, Chrome
If other, please specify.
No response
What operating system are you using?
macOS Sonoma 14.3.1
π§’ Your Company/Team
https://verveui.pro/components/modals/dialog
π· Tracking Issue
No response
The text was updated successfully, but these errors were encountered: