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

Highstock: navigator jumps back on drag to right edge #6187

Closed
KacperMadej opened this issue Dec 29, 2016 · 5 comments
Closed

Highstock: navigator jumps back on drag to right edge #6187

KacperMadej opened this issue Dec 29, 2016 · 5 comments

Comments

@KacperMadej
Copy link
Contributor

@KacperMadej KacperMadej commented Dec 29, 2016

Expected behaviour

Navigator should move to the touched place.

Actual behaviour

It jumps back after a touch event ends.

Live demo with steps to reproduce

http://www.highcharts.com/stock/demo/candlestick-and-volume

  1. Open on iPhone
  2. Drag navigator (mask) to the center.
  3. Drag navigator (mask) to right side of the navigator.
  4. Navigator jumps back to the center position after the drag ends.

img_4303 1

Affected browser(s)

Mobile: iPhone 7

@KacperMadej
Copy link
Contributor Author

@KacperMadej KacperMadej commented Dec 29, 2016

Another example:

ezgif com-58fc0optym

@sebastianbochan
Copy link
Contributor

@sebastianbochan sebastianbochan commented Jan 13, 2017

+1

@eldjuve
Copy link

@eldjuve eldjuve commented Mar 29, 2017

This fix simply disregards mouseevents, meaning the navigator will not respond to mouse interaction on a computer with a touch screen. Could it not be fixed by simply preventing default on touchevents instead? Ref: https://developer.mozilla.org/en-US/docs/Web/API/Touch_events/Supporting_both_TouchEvent_and_MouseEvent

TorsteinHonsi added a commit that referenced this issue Mar 31, 2017
… devices.

The commit disabled mouse events on touch screens. Also suspected connection with #6457.
@TorsteinHonsi TorsteinHonsi reopened this Mar 31, 2017
@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Mar 31, 2017

Reopened based on the comment above. Also I suspect that this caused #6457, that we haven't been able to reproduce, but comes with the same symptoms.

@pawelfus pawelfus removed their assignment Jul 12, 2019
@stale
Copy link

@stale stale bot commented Jan 10, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the Status: Stale label Jan 10, 2021
@circleci-mu circleci-mu added this to To do in Development-Flow via automation Jan 10, 2021
@stale stale bot closed this Jan 17, 2021
Development-Flow automation moved this from To do to Done Jan 17, 2021
@Izothep Izothep removed this from Done in Development-Flow Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants