react-timelines icon indicating copy to clipboard operation
react-timelines copied to clipboard

Pinch to zoom support

Open willbamford opened this issue 7 years ago • 3 comments

pinch-to-zoom-patent-530

willbamford avatar May 26 '17 12:05 willbamford

Not sure how to best do this with the API is configured - as the zoom level is passed into the React Timelines as a prop…

rbrtsmith avatar Jun 12 '17 07:06 rbrtsmith

We could still detect and publish events on pinch and unpinch and then it's up for consumers to translate this to zoom levels (as per how zoom control buttons work currently).

willbamford avatar Jun 12 '17 07:06 willbamford

Going forward it might also be useful to have the component manage its own state (setState) but allow consumers to override. E.g. have default zoom, toggle open handling etc.

willbamford avatar Jun 12 '17 07:06 willbamford