finos / openfin-react-hooks

A collection of React Hooks built on top of the Openfin API - from Scott Logic
Apache License 2.0
48 stars 19 forks source link

Fix useZoom demo #53

Closed ms14981 closed 4 years ago

ms14981 commented 4 years ago

Now works with newer v1 JS API versions and the later v2 versions, by using a material design slider that works better than a range input. Not quite sure why the basic input range is flaky but I think this change improves the look too.

image

Linting errors in this PR will be fixed by 54f0e09de1e05b1c6a2c006cf5d7ae3835220c82 in https://github.com/finos/openfin-react-hooks/pull/52

I haven't changed the code example, let me know if you think we should.