Skip to content

Cado-Labs/cancel-auto-zoom

Repository files navigation

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

Supported by Cado Labs

Authors

https://github.com/Ginger-nomad