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 devices / button zoom out does not work #5779

Closed
morganfree opened this Issue Oct 4, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@morganfree
Contributor

morganfree commented Oct 4, 2016

Actual behaviour

On mobile devices the button which resets zoom does not work. This is regression from 4.2.7 version. It might have something with the button's event handler because chart.zoomOut() works fine.

Live demo with steps to reproduce

https://jsfiddle.net/ajcvvc8x/7/
On a mobile device, zoom in and try to use Highcharts' zoom out button - it does not work.
Chart.zoomOut() seems to work correctly.

Affected browser(s)

HTC Desire 500, Android 4.1.2, Chrome
iPhone 7, iPad mini 2

@sebastianbochan

This comment has been minimized.

Show comment
Hide comment
@sebastianbochan

sebastianbochan Oct 5, 2016

Contributor

Workaround

Catch redraw event, attach "touchstart" event to the resetZoomButton and call zoomOut();

Example:

Contributor

sebastianbochan commented Oct 5, 2016

Workaround

Catch redraw event, attach "touchstart" event to the resetZoomButton and call zoomOut();

Example:

@TorsteinHonsi TorsteinHonsi added this to the 5.0.1 milestone Oct 6, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment