Skip to content

Commit 1928cf6

Browse files
authored
Merge pull request #64 from hyperbeam/scotty/pinch-to-zoom
add meta tag instructions for pinch-to-zoom
2 parents dccfcdf + c02ec19 commit 1928cf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/rest-api/dispatch/start-chromium-session.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ authMethod: "bearer"
5656
</ParamField>
5757
<ParamField body="pinch" type="boolean" default={false}>
5858
Enables the pinch gestures, which enables features such as pinch to zoom. The zoom can be reset on desktop by pressing the `Escape` key or refreshing the browser page.
59+
You will need to disable viewport scaling to enable pinch-to-zoom on the virtual browser. Include the following meta tag in your HTML:
60+
`<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />`
5961
</ParamField>
6062
</Expandable>
6163
</ParamField>

0 commit comments

Comments
 (0)