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

[Mobile] An error occurs when using drag and drop #5466

Closed
AmirhoseinHesami opened this issue May 4, 2024 · 4 comments
Closed

[Mobile] An error occurs when using drag and drop #5466

AmirhoseinHesami opened this issue May 4, 2024 · 4 comments
Assignees
Labels
bug user issue An issue or bug reported by users.

Comments

@AmirhoseinHesami
Copy link

AmirhoseinHesami commented May 4, 2024

Are you requesting a feature, reporting a bug or ask a question?

reporting a bug

What is the current behavior?

I am using surveyjs in my latest Nextjs 14.2.3 app. on mobile devices when you add two or more questions and then if you try to use drag and drop to sort the questions the Unhandled Runtime Error occurs. the error is : "TypeError: Cannot read properties of undefined (reading 'setAttributeNS')"

a.mp4
  • browser: android chrome (124.0.6367.113)
  • library version: latets version of survey-react-ui (1.10.2)
@andrewtelnov andrewtelnov added bug user issue An issue or bug reported by users. labels May 4, 2024
@JaneSjs
Copy link
Contributor

JaneSjs commented May 6, 2024

Hello @AmirhoseinHesami,
Thank you for reaching out. I tested a SurveyJS Creator v1.10.2 on Android, however, didn't reproduce the issue.
image

I would appreciate it if you test this demo on your end and let me know whether the issue occurs on your end.

Thanks

@JaneSjs
Copy link
Contributor

JaneSjs commented May 8, 2024

@AmirhoseinHesami, I managed to reproduce the issue on my end using the surveyjs-nextjs demo.

image

@dmitry-kurmanov, please run this demo and open a browser window in a mobile resolution. You'll be able to reproduce the issue.

@JaneSjs
Copy link
Contributor

JaneSjs commented May 14, 2024

Hello @AmirhoseinHesami,
We placed the following PR to fix styling of a drag-drop question icon: #5492. Once the new maintenance update is available, I would recommend that you upgrade and check to see if the icon appears correctly and whether the TypeError: Cannot read properties of undefined (reading 'setAttributeNS') exception remains. Unfortunately, we couldn't reproduce this failure on our end, so we would appreciate if you let us know how it goes on your end after the upgrade.

Thanks

andrewtelnov pushed a commit that referenced this issue May 14, 2024
@JaneSjs
Copy link
Contributor

JaneSjs commented May 20, 2024

Hello @AmirhoseinHesami,
Unfortuntely, we haven't heard for you in a while. If the issue persists or you have any further questions, please feel free to reopen this thread or submit a ticket at help desk.

Thank you

@JaneSjs JaneSjs closed this as completed May 20, 2024
@RomanTsukanov RomanTsukanov changed the title Unhandled Runtime Error while drag and drop on mobile [Mobile] An error occurs when using drag and drop May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users.
Projects
None yet
Development

No branches or pull requests

4 participants