# Scrolling vertically and Horizontally on an Ipad

ansancle
317 9

I have a situation where I need to be able to have an area scroll both vertically and horizontally on an Ipad.
I can only get it to work in one direction at a time for some reason.
Below I show the example that works vertically, the other horizontally. The bottom example is what should work in both directions I would think but it doesn't on the Ipad.
On a desktop you do get scrollbars in both directions.
Any help appreciated.
-Andy

This works vertically

		<vbox width="100%" height="100%">
<div height="500px" width="100%" style="overflow:auto">

<!-- My Scrolling Content Goes here -->
</div>
</vbox>

This will only work horizontally - I have added a fixed width on the div - I would think this should scroll in both directions - does on the desktop, not on the Ipad.

		<vbox width="100%" height="100%">
<div height="500px" width="980px" style="overflow:auto">

<!-- My Scrolling Content Goes here -->
</div>
</vbox>

delete retag edit

neillee
1692 1 5

Hello,

You may refer to this smalltalk on how to get scrolling to work on a tablet.

Neil Lee, Engineer
Potix Corporation

[hide preview]