Headless UI Dialog Transition Causes Background Flickering #2867
Unanswered
owarleysouza
asked this question in
Help
Replies: 1 comment
-
I haven't had this issue with Headless UI, but with other modals. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The bug occurs within a dialog component. Utilizing the Headless transition component to animate the dialog's transition, when the dialog is opened, the background around it flickers while moving the mouse or scrolling. The current structure follows the below model, and it's been identified that the HeadlessTransitionChild, which is the parent of the HeadlessDialogPanel, is causing this unwanted effect.
Code Structure
Problem Detail
This issue is concerning the unexpected behavior occurring when using the Headless UI transition component within a dialog. Specifically, when the dialog is opened, the background flickers when interacting with the mouse or scrolling. The issue seems to be stemming from the HeadlessTransitionChild component, which affects the background behavior.
Additional Information:
Problem Visualization
low-animation-dialog-bug.mp4
Beta Was this translation helpful? Give feedback.
All reactions