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

Difficulty dragging boards on some mobiles #1

Open
bovas85 opened this issue Jul 11, 2018 · 11 comments
Open

Difficulty dragging boards on some mobiles #1

bovas85 opened this issue Jul 11, 2018 · 11 comments
Labels
bug Something isn't working good first issue Good for newcomers question Further information is requested

Comments

@bovas85
Copy link

bovas85 commented Jul 11, 2018

I can't move boards left to right, only right to left.

This is when opening the demo link

@davestewart
Copy link
Owner

davestewart commented Jul 11, 2018

Hmm. I can't reproduce that!

Is this on a particular OS/Browser?

EDIT 1: Ah - just seen the word "mobile" in the title. Can you provide more info?
EDIT 2: Just tried on Pixel 2 / Chrome and it works just like the desktop

I use this lib for the DnD: https://github.com/kutlugsahin/vue-smooth-dnd

@bovas85
Copy link
Author

bovas85 commented Jul 11, 2018

I have a OnePlus 5 with latest chrome.

I'm trying to drag the first board to the right, which works, but the anchor point threshold is perhaps too far and it comes back to the starting point.

@davestewart
Copy link
Owner

Hmm. That's going to be difficult for me to reproduce! 😢

Could be a great opportunity for your first PR! Either here, or I suspect in the library I mentioned above.

@davestewart
Copy link
Owner

So the author of Smooth DnD has a demo page.

Want to try that and see how your phone copes?

@bovas85
Copy link
Author

bovas85 commented Jul 11, 2018

Yeah I think the actual lib is broken on mobile, at least at my size and phone, which is quite common.

Does it work for you and your phone when dragging stuff?

@bovas85
Copy link
Author

bovas85 commented Jul 11, 2018

maybe worth looking at other options?
https://github.com/vuejs/awesome-vue#drag-and-drop

@davestewart
Copy link
Owner

Does it work for you and your phone when dragging stuff?

Yeah, no problems at all!

maybe worth looking at other options?

If you check the diary, you'll see I tried a bunch of them, and actually Vue Smooth DnD was the one I ended up at:

I actually love how it works, but it's unfortunate it doesn't work on all phones.

Given that this is open source, and all the interface and store work has already been done, do you fancy looking at it!?

After all, the project exists online as a learning exercise; for me - rapid prototyping, for others - whatever suits them!

@bovas85
Copy link
Author

bovas85 commented Jul 12, 2018

Yes I will clone and contribute. There's surely a threshold somewhere that we can fine tune

@davestewart
Copy link
Owner

Yes I will clone and contribute.

Though saying that, it could be useful to create an issue on the Vue Smooth DnD repo first.

If it's a known issue, that saves you some work. If it's an unknown issue, maybe they can fix it?

@bovas85
Copy link
Author

bovas85 commented Jul 12, 2018

yes that's the intention, they have the bug on their demo itself.

You can actually check yourself by inspecting element, simulating mobile size (I tried around 320px) and trying to drag the whole board to the right.

@davestewart
Copy link
Owner

Oh yeah, that's weird. Every time I try to drag the screen pans!

@davestewart davestewart changed the title Mobile boards dragging Difficulty dragging boards on some mobiles Jul 13, 2018
@davestewart davestewart added bug Something isn't working good first issue Good for newcomers question Further information is requested labels Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants