To Secure Toolbars and Tabbars in the OnsenUI

Asked 2 years ago, Updated 2 years ago, 107 views

Some browsers allow you to scroll up and down using toolbars and tabbars.
Is there a way to fix the position completely by devising HTML and CSS descriptions?

Example OnsenUI (whole screen scrolling when viewed in Safari on iPhone)
http://s.codepen.io/onsen/fullembedgrid/pGuDL

Example of SendTouch (only the central content area is scrolled when viewed in Safari on iPhone)
http://cdn.sencha.io/touch/sencha-touch-2.4.1/examples/kitchensink/ #demo/bottom-tabs

onsen-ui

2022-09-30 19:12

1 Answers

Scroll up and down the entire screen in config.xml

<preference name="webviewbounce" value="true">

You can set the value to false to prevent it from bouncing.
If there is no description,

<preference name="webviewbounce" value="false">

All you have to do is add the


2022-09-30 19:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.