Skip to content
New issue

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

Slideover loosing state #1357

Open
martin-ro opened this issue Feb 13, 2024 · 1 comment
Open

Slideover loosing state #1357

martin-ro opened this issue Feb 13, 2024 · 1 comment
Labels
question Further information is requested

Comments

@martin-ro
Copy link

Description

I have a Slideover with some checkboxes from a 3rd party library. Whenever I close the slideover all values are lost.

Using just headless UI I can solve this by using :unmount="false" on the Dialog and TransitionRoot but can't find anything similar on the slideover.

Did I miss something here?

Cheers

@martin-ro martin-ro added the question Further information is requested label Feb 13, 2024
Copy link
Member

This could be nice indeed, I've tried to pass the unmount prop to the Dialog component but it breaks the leave transition. I've created an issue on Headless UI: tailwindlabs/headlessui#2987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants