@cadolabs/cancel-auto-zoom
v1.0.4
Published
Cancelling auto zoom on mobile devices
Downloads
598
Readme
Install
yarn add @cadolabs/cancel-auto-zoom
Description
Cancelling auto zoom on mobile browser inputs , ios specifically
Usage
import { initiateCancelAutoZoomInInputs, removeCancelAutoZoomInInputs, setViewport, addWindowListener} from "@cadolabs/cancel-auto-zoom"
invoke initiateCancelAutoZoomInInputs, setViewport, addWindowListener functions inside ComponentDidMount and removeCancelAutoZoomInInputs inside ComponentWillUnmount in index.js file of a project
Contributing
Fork it ( https://github.com/Cado-Labs/cancel-auto-zoom ) Create your feature branch (git checkout -b feature/my-new-feature) Commit your changes (git commit -am '[feature_context] Add some feature') Push to the branch (git push origin feature/my-new-feature) Create a new Pull Request
License
Released under MIT License.
Supporting
Authors
https://github.com/Ginger-nomad