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

Drag and Drop xblock not working properly inside the Mobile apps' webview #375

Open
miankhalid opened this issue Jan 3, 2024 · 5 comments

Comments

@miankhalid
Copy link

On long pressing to drag and drop an item:

  1. the text on the item gets selected in case of iOS
  2. and incase of Android the drag and drop doesn't work altogether

Attaching videos for reference ⬇️

iOS Android
dnd-ios.MP4
dnd-android.mp4

cc @forgotvas @moiz994 @touchapp @hassan6190

@miankhalid
Copy link
Author

Hi @Agrendalath, this issue is affecting our (edX/2U's) prod mobile apps, can you help in fixing this issue? thanks!

@Agrendalath
Copy link
Member

@miankhalid, to have the full context in this GitHub issue - is it related to the old or new mobile apps? I haven't worked with any of them, but I can ask if anybody has free CC hours and experience with relevant repos.

@miankhalid
Copy link
Author

@Agrendalath this issue exists in the new apps as well, reason being both the new & old apps load the d&d xblock inside a webview.

Has there recently been a change in this xblock's working? cuz in the past it used to work just fine within the webviews of the mobile apps.

Behavior of the xblock in the new app on iOS ⬇️

dnd-ios-new_app.mp4

@Agrendalath
Copy link
Member

@miankhalid, no, there were no direct changes to the dragging mechanism recently (full history of the JS file).

If you could estimate when it stopped working and verify if an older version of this XBlock works correctly, it would be really helpful, as this requires the mobile app setup process.
Just a quick note - releases newer than Palm will not work without this commit. This one may also be needed.

@miankhalid
Copy link
Author

thanks! lemme get some help from my backend folks on this and get back to you, as I don't know how to configure an older version of this xblock on a sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants