-
Notifications
You must be signed in to change notification settings - Fork 843
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
[EuiDraggable] Dragging doesnt work for EuiAccordion draggable on mobile with disableInteractiveElementBlocking #5903
Comments
I am unable to reproduce the issue in the latest chrome (v103.0.5060.53) with the provided codesandbox. Tried both mac & windows with various screen sizes emulated in both horizontal & vertical orientations. |
Joe figured out the repro requirement - viewing the deployed code sandbox with responsive+ipad mini enabled, at 75% zoom. Was able to reproduce by moving the accordion example into EUI docs and viewing with the same env as above, react-beautiful-dnd's operation is being interrupted by a global error: Should be a fun one. |
First thought was to patch react-beautiful-dnd's ErrorBoundary component's
closing over So I'm left with three ideas, will discuss at the team's sync meeting tomorrow
|
Forgot to follow up after last week's sync: I'm exploring two ideas for handling this in the eui drag&drop component(s). |
Related to elastic/kibana#128098
If
EuiDraggable
is used with anEuiAccordion
child, using the button of an accordion as drag handle (which requires to setdisableInteractiveElementBlocking
), then the drag is aborted right after it starts on touch devices.Codesandbox to reproduce:
https://codesandbox.io/s/interesting-kalam-z03t4l?file=/demo.js:1151-1184
iPad Mini
via dev toolsKapture.2022-05-17.at.17.03.36.mp4
Without
disableInteractiveElementBlocking
a button can't be the drag handle.cc @chandlerprall
The text was updated successfully, but these errors were encountered: