Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Pinch to zoom support #42

Open
willbamford opened this issue May 26, 2017 · 3 comments
Open

Pinch to zoom support #42

willbamford opened this issue May 26, 2017 · 3 comments

Comments

@willbamford
Copy link
Contributor

willbamford commented May 26, 2017

pinch-to-zoom-patent-530

@rbrtsmith
Copy link
Contributor

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…

@willbamford
Copy link
Contributor Author

willbamford commented Jun 12, 2017

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
Copy link
Contributor Author

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.

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

No branches or pull requests

2 participants