View Full Version : components extend beyond the viewport

13 Dec 2012, 7:25 AM
I have a small issue I am sure is solvable. I am using ST2.1
I have a fixed length components (up to 720px width) yet on my android 4.2 nexus I see half of the component as if the screen is only 350px side. printing the screen.width yields 720 of course.
I have the following meta tag in my HTML:
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
I am not sure how to solve this. I have seen many questions about this in the forum that were all solved by meta viewport. for certain I am missing something or doing something wrong.
any ideas on where to look?

15 Dec 2012, 7:13 AM
The Viewport is using 100% width/height, what you should do is have the 720px component within a scrollable container so you can scroll to the rest of the component.

15 Dec 2012, 8:26 AM
thanks; I understand what you said but let me clarify.
the screen.width is 720 but the view port shows only ~half that. that my problem,. I don't want a a scrollable container. I just need to 720 width component to be shown fully in side the viewport and only just half of it.
could this have something to do with nesting layouts?