# NEED HELP; Weird issue

**URL:** <https://forum.ionicframework.com/t/need-help-weird-issue/41260>\
**Category:** ionic-v1\
**Created:** [January 14, 2016, 2:29pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260 "2016-01-14T14:29:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_gignac](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@sebastien\_gignac](https://forum.ionicframework.com/u/sebastien_gignac)\
**Post date:** [January 14, 2016, 2:29pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/1 "2016-01-14T14:29:15Z")

</div>

Hi there, I have an issue with a form. The form load correctly, but when I update one field and I click somewhere else and the keyboard close, the form disapear. The form is still there as I can click blindly and find a field, but everything seems transparent! Here some pictures:

Selecting a field and update value

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/9/1/910c4ad88502f262137d1819a07ad29da81c0b13.PNG)

Leaving the field and going to the next field (or another one)  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/9/f/9ffba62c91fa2028fb4b0f0d76dc6c84fdf32c80.PNG)

The data is there… we can select it  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/9/6/9655abc3cf2840fdfbdbfa7abd981cfcde52ea4a.PNG)

I can make the form reappear when I initate the swipe action in order to display the right side menu for example (as soon as I move the page 1px by swipping, it redraws perfectly)

My analysis so far:

- Do this only on IOS native (preview from xCode), web view through Ionic Serve is OK, IOS Emulate is OK also.

- Not related to CSS. My css customization are overrides. I tried removing my overrides css AND I have the same issue.

Here is the code of my form:

`

```
	<form name="addForm" novalidate="" ng-submit="vm.addMoto()"> 
     
      <div class="list">
       
		<label class="item item-input item-select" ng-class="{ 'has-errors' : addForm.make.$invalid, 'no-errors' : addForm.make.$valid}">
		    <div class="input-label">
		      Make
		    </div>
		    <select name="make" ng-model="vm.newmoto.make" ng-minlength="1" ng-maxlength="20" required>
		      <option value="kawasaki">Kawasaki</option>
		      <option value-"honda">Honda</option>
		      <option value-"suzuki">Suzuki</option>
		      <option value-"yamaha">Yahama</option>
		    </select>
		  </label>
         
        <div class="error-container" ng-show="addForm.make.$error" ng-messages="addForm.make.$error">
          <div ng-messages-include="error-list.html"></div>
        </div>

         
        <label class="item item-input" ng-class="{ 'has-errors' : addForm.model.$invalid && addForm.$submitted, 'no-errors' : addForm.model.$valid && addForm.$submitted}">
          <span class="input-label">Model</span>
          <input type="text" name="model" ng-model="vm.newmoto.model" ng-minlength="1" ng-maxlength="20" required>
        </label>

        <div class="error-container last-error-container" ng-show="addForm.model.$error && addForm.$submitted" ng-messages="addForm.model.$error">
            <div ng-messages-include="error-list.html"></div> 
        </div>

        <label class="item item-input" ng-class="{ 'has-errors' : addForm.year.$invalid && addForm.$submitted, 'no-errors' : addForm.year.$valid && addForm.$submitted}">
          <span class="input-label">Year</span>
          <input type="number" name="year" ng-model="vm.newmoto.year" required>
        </label>
         
        <div class="error-container last-error-container" ng-show="addForm.year.$error && addForm.$submitted" ng-messages="addForm.year.$error">
            <div ng-messages-include="error-list.html"></div> 
        </div>

        <label class="item item-input" ng-class="{ 'has-errors' : addForm.mileage.$invalid && addForm.$submitted, 'no-errors' : addForm.mileage.$valid && addForm.$submitted}">
          <span class="input-label">Mileage</span>
          <input type="number" name="mileage" ng-model="vm.newmoto.mileage" required>
        </label>
         
        <div class="error-container last-error-container" ng-show="addForm.mileage.$error && addForm.$submitted" ng-messages="addForm.mileage.$error">
            <div ng-messages-include="error-list.html"></div> 
        </div>      

        <label class="item item-input" ng-class="{ 'has-errors' : addForm.displayName.$invalid && addForm.$submitted, 'no-errors' : addForm.displayName.$valid && addForm.$submitted}">
          <span class="input-label">Nickname</span>
          <input type="number" name="displayName" ng-model="vm.newmoto.displayName" required>
        </label>
         
        <div class="error-container last-error-container" ng-show="addForm.displayName.$error && addForm.$submitted" ng-messages="addForm.displayName.$error">
            <div ng-messages-include="error-list.html"></div> 
        </div>         
         
      </div>     
       
      <button class="button button-block button-royal" type="submit">
        Save this moto
      </button>
         
    </form>   

</ion-content>

```

`

---

<div class="post-metadata">

**Author:** ![page6](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@page6](https://forum.ionicframework.com/u/page6)\
**Post date:** [January 15, 2016, 11:40am UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/2 "2016-01-15T11:40:20Z")

</div>

Hi There,

I’ve struggling with the same problem for days now. In my case, the problem seems to be an element above the form-Inputs wich has no static height, an responsive resized image for example. My html looks like that:

`<style type="text/css"> img{ width:100%; height: auto; } </style> ... <ion-pane> <ion-header-bar class="bar bar-header bar-balanced"> <h1 class="title">Title</h1> </ion-header-bar> <ion-content> <div> <img class="mealImg" src="img/test.png"> </div> <div class="list"> <label class="item item-input"> <input type="text" placeholder="Title"> </label> <label class="item item-input"> <input type="text" placeholder="Description"> </label> </div> <div class="padding"> <button class="button button-block button-positive activated">Save</button> </div> </ion-content> </ion-pane>`

For me, it seems like it has something to do with the ionic Keyboard-Scrolling. If I deactivate cordova.plugins.Keyboard.disableScroll(true); this bug does not appear anymore, but scrolling seem buggy (e.g. header-bars are scrolling out of the viewport)

---

<div class="post-metadata">

**Author:** ![sebastien\_gignac](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@sebastien\_gignac](https://forum.ionicframework.com/u/sebastien_gignac)\
**Post date:** [January 15, 2016, 12:49pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/3 "2016-01-15T12:49:07Z")

</div>

Did you tried to remove this content? In my case, I had a H1 and a P above the form and I removed it. The problem still there.

I have 5 fields on my form. When I started removing fields one by one to see if one particular field was causing the problem, I founded out that when there is enough space in the screen for the keyboard to popup without scrolling, I have no issue. (about 2/3rd of the screen must be available). This leads me to think that there must be an issue with the repositioning after the keyboard’s hidden.

I will look at other elements and I will try to hardcode an height for every elements to see if it improves the scrolling calculation.

---

<div class="post-metadata">

**Author:** ![sebastien\_gignac](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@sebastien\_gignac](https://forum.ionicframework.com/u/sebastien_gignac)\
**Post date:** [January 15, 2016, 1:04pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/4 "2016-01-15T13:04:08Z")

</div>

I think I’ve found the problem.

I’ve added **overflow-scroll=“false”** to the and it seems to fix the issue.

---

<div class="post-metadata">

**Author:** ![page6](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@page6](https://forum.ionicframework.com/u/page6)\
**Post date:** [January 15, 2016, 1:24pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/5 "2016-01-15T13:24:08Z")

</div>

Where did you added “overflow-scroll=“false””?  
I’ve also found this thread: [Keyboard closing causes entire page to disappear](https://forum.ionicframework.com/t/keyboard-closing-causes-entire-page-to-disappear/37284) and it helps… most of the time…  
I had an element with ng-show above my form-fields and added an empty div at the same level.

---

<div class="post-metadata">

**Author:** ![sebastien\_gignac](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@sebastien\_gignac](https://forum.ionicframework.com/u/sebastien_gignac)\
**Post date:** [January 15, 2016, 1:27pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/6 "2016-01-15T13:27:49Z")

</div>

ho sorry… to the

`<ion-content overflow-scroll="false" padding="true" class="has-header">`

---

<div class="post-metadata">

**Author:** ![page6](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@page6](https://forum.ionicframework.com/u/page6)\
**Post date:** [February 1, 2016, 9:10pm UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/7 "2016-02-01T21:10:49Z")

</div>

Hey Sebastien,  
I’ve ran again into the same problem and now added overflow-scroll…  
That really seems to solve the problem! Thanks a lot for the hint!

---

<div class="post-metadata">

**Author:** ![trevor62590](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@trevor62590](https://forum.ionicframework.com/u/trevor62590)\
**Post date:** [March 5, 2016, 1:13am UTC](https://forum.ionicframework.com/t/need-help-weird-issue/41260/8 "2016-03-05T01:13:26Z")

</div>

When I add overflow-scroll=“false” on ios, my ion-content is not scrollable anymore… anyone know how to solve this?
