-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Dialog unexpectedly closes on a touch device #2084
Comments
I have the same issue on Ark UI 4.1.2 for React |
We've released a new version. Please re-open the if the issue persist. |
The issue remains after the latest release (v4.3.0) https://codesandbox.io/p/sandbox/7j72xj Touching a combobox menu item closes the dialog. |
I have run into a similar issue that I think may be related. Reproduced on v4.4.3 While using a touch device (or browser emulation of a touch device), when I press a button that's inside a Dialog, and the click event for that button changes state that causes that button to no longer be rendered, I expect the dialog to remain open, but it closes. https://codesandbox.io/p/sandbox/ark-ui-dialog-forked-6z8w67
|
I just did a little research and found out that when the button is unmounted, it ceases to be a child of dialog content, and from the point of view of I do not know why this happens only on touch devices, but workaround can apply the dom attribute |
This was fixed in a recent commit. We'll release an update shortly. If the issue persists after upgrading, I'll re-open it. CleanShot.2024-12-29.at.18.23.10.mp4 |
Description
see this old issue which was closed, not fixed actually (I was able to reproduce it for all releases from 3.9 to 4.2).
chakra-ui/ark#2816
Link to Reproduction (or Detailed Explanation)
https://stackblitz.com/~/github.com/dannylin108/parkui-bug-report
Steps to Reproduce
Ark UI Version
4.2.0
Framework
Browser
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: