MIGRATED: Pinch-to-Zoom doesn't work without setting scalesPageToFit={true} explicitly on WebView component. (#17005) #12
Labels
migrated
Migrated from https://github.com/facebook/react-native/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+
User: minimal repro
Need to publish a minimal app demonstrating this behavior
Migrated from facebook/react-native#17005.
@ewhitebloom says:
Environment
Steps to Reproduce
(Write your steps here:)
Make a WebView Component
Set the source attribute to have a uri value of a PDF.
You'll notice that you can't pinch-to-zoom without explicitly setting scalesPageToFit={true}. Even though the docs say that it is set to true by default, it appears it is not.
Expected Behavior
The pinch-to-zoom behavior should be there without setting scalesPageToFit equal to true, explicitly.
Actual Behavior
Pinch-to-zoom doesn't work without setting the scalesPageToFit explicitly.
More info in original thread
The text was updated successfully, but these errors were encountered: