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

Buggy dragging in the "drag a point" example #3352

Closed
1icas opened this issue Oct 12, 2016 · 7 comments
Closed

Buggy dragging in the "drag a point" example #3352

1icas opened this issue Oct 12, 2016 · 7 comments
Labels

Comments

@1icas
Copy link

1icas commented Oct 12, 2016

https://www.mapbox.com/mapbox-gl-js/example/drag-a-point/

mapbox-gl-js version:

Steps to Trigger Behavior

  1. double click the map
  2. drag the point to a new location

Expected Behavior

drag the point to an new location

Actual Behavior

can't drag the point

@mourner mourner changed the title event bug Buggy dragging in the "drag a point" example Oct 12, 2016
@mollymerp
Copy link
Contributor

Hi @1icas -- thank you for your bug report!

I cannot reproduce the issue in chrome or firefox on macOS Sierra. Can you let us know what brower + OS you're using, and copy any errors you're seeing on the console to this ticket? Thanks!

@mourner
Copy link
Member

mourner commented Oct 12, 2016

@mollymerp I could reproduce a few times on Chrome under Sierra, but not consistently. My guess is that it's somehow related to the (c) symbol in the copyright getting selected on the double click.

@1icas
Copy link
Author

1icas commented Oct 13, 2016

@mollymerp @mourner the chorme version is 50.0.2661.87 m, it will help you. i think you should do nothing and double-click on the map first when you open the "drag a point" example.

@1icas
Copy link
Author

1icas commented Oct 13, 2016

@mollymerp @mourner , i have another question. i think you can reproduce in the "drag a point" example.

First : click ten times on the map. (left button)
Second: it's very slowly when you drag the point .
Third: keep mouse down and let the cursor leave the map. now, mouse up and let the cursor enter the map. it will be faster . why ????!!!!!!!!!

i know that you can add
map.off('mousemove', onMove);
map.off('mouseup', onUp); in the onUp() function

@mourner
Copy link
Member

mourner commented Oct 13, 2016

@1icas can you try a more recent Chrome version (v54)?

@1icas
Copy link
Author

1icas commented Oct 13, 2016

@mourner can you send me chrome client from email? [email protected] .because i have not proxy to download the new chrome client

@lucaswoj
Copy link
Contributor

Closing as stale. I can't repro in any browser.

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

No branches or pull requests

4 participants