0

Having tried a bunch of different methods I cannot seem to create a nicely fit fullscreen ios app (web app made in cordova) as there would always be overflow.

I have tried:

<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">

Which didn't fix anything either. I have also tried:

    overflow-x: hidden;

And that also didn't work. My CSS is as below:

body,html {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
height: 100%;
width: 100%;
overflow: hidden }

textbox {
width: 100%;
height: 42px;
padding: 20px 0px 25px 25px;
border: 0px;
outline: none;
-webkit-font-smoothing: antialiased;
-webkit-appearance: none;
position: absolute;
bottom: 0px; }

How to create a fullscreen ios app in CSS that doesn't scroll vertically or horizontally?

Kyll
  • 7,036
  • 7
  • 41
  • 64
Lisa S
  • 123
  • 7

1 Answers1

0

In mobile-config.js file , add this line

App.setPreference('DisallowOverScroll', true);
MoonFlyer
  • 91
  • 4