Support Article
meta tag implementation
SA-18934
Summary
Using Tablet to access a Pega screen, zooming in and out (pinch in and pinch out) fails. Added <meta name="viewport" content="width=device-width, user-scalable=yes"> onto pyMetaTag, but this has no effect.
Error Messages
Not Applicable.
Steps to Reproduce
1. Login via tablet.
2. Operate pinch in and pinch out via tablet.
Root Cause
Design issue. All viewport was overriden by below meta on touch device view.
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
Resolution
Perform the following local-change: add this js onto each application or context header (can simply add it to UserWorkForm, which is included automatically).
"<meta name=\"viewport\" content=\"initial-scale=1.0, maximum-scale=10.0, user-scalable=1\" />"
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.