Repository navigation
Closed
Description
Short description of the problem:
I got a couple of slides, and the last one of them has a login form. whenever I try to type in the input fields, the keyboard pops up and the slides are broken, they're auto resized to the space left, and after closing the keyboard they stay that way.
What behavior are you expecting?
I am expecting it to be pushed up (like usual phone behavior I guess?) and make it possible to use form fields in slides.
Steps to reproduce:
- Create a view with slides
- add a form to one of the slides (even one input fiels will do)
- Tap the input field, tada.
<ion-slide>
<img src="img/superbuddy_logo.png" class="slide-img"/>
<h2 class="slide-title">Let's get started!</h2>
<ion-item>
<ion-label>username</ion-label>
<ion-input></ion-input>
</ion-item>
<ion-item>
<ion-label>password</ion-label>
<ion-input type="password"></ion-input>
</ion-item>
<button full>Log in</button>
<div class="divider"></div>
<button outline>
<ion-icon name="logo-facebook"></ion-icon>
Log in with facebook
</button>
<div class="divider"></div>
<button clear>Create new account?</button>
</ion-slide>
Ionic Version: 1.x / 2.x
2
Browser & Operating System: iOS / Android / Chrome
All of them.
Run ionic info from terminal/cmd prompt:
Cordova CLI: Not installed
Ionic Version: 2.0.0-beta.1
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS:
Node Version: v5.5.0
Reacted by Dylan v.d Merwe, Alexander Potapov, Andrii Bilozor, Edoardo Tassinari, Hugo Blanc, Chris1234567899 and J.D Nicholls
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
No fields configured for issues without a type.
Activity
alpotapov commentedon Mar 18, 2016
Any progress on this issue?
EvanWillms commentedon Apr 10, 2016
Given this description of space being suddenly claimed by the keyboard when an input field is tapped and then not released afterward, this sounds like another effect of #5432.
@HazeDevelopment, @alpotapov: You might be able to make use of the workaround I found to let the keyboard slide over the content, preventing it from getting permanently squished:
https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/5?u=evanwillms
@brandyscarney: I would guess that this issue shares a root cause with #5432 and is unrelated to potential work in #6007, but you should probably have someone more familiar verify.
jgw96 commentedon Apr 12, 2016
related to #5744
dylanvdmerwe commentedon Apr 20, 2016
An plunkr example of a form with various input components within an
<ion-slides>: http://plnkr.co/edit/i0MIv8mlQ5WljUJxlBAs?p=previewThe form creates all sorts of chaos. Granted this is quite a big form, but this is just an example.
jgw96 commentedon Apr 20, 2016
Hey everyone! Just wanted to let the community know that we are currently making alot of changes to slides for beta.5, along with some much better docs, so look out for fixes for slides in beta.5! (:
37 remaining items
Daskus1 commentedon Jan 2, 2017
Is there any progress on this issue? I have the same problem, when typing on an input inside a slide the slide is broken
hotforfeature commentedon Feb 3, 2017
I've been using
<ion-slides>with form inputs for a while now. The problem is that the slider wasn't designed for use with assistive scroll.I have a workaround described in #10258. It involves making the slider
ion-fixedand using<ion-content>inside each<ion-slide>.The one caveat is that
<ion-content>also wasn't designed to deal with multiple content elements on a page. There's a patch in the linked issue that you'll want to call on your ViewController when you create your component.sufiiiyan commentedon Apr 7, 2017
I'm still facing this issue
when I is use input with ion-slide.
Is there any solution or any updates
ordova CLI: 6.5.0
Ionic Framework Version: 2.2
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1
ios-deploy version: Not inst
ios-sim version: Not install
OS: Windows 8.1
Node Version: v6.10.0
Xcode version: Not installed
pablozandona commentedon May 11, 2017
+1
Cordova CLI: 6.5.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.10
Node Version: v5.12.0
Xcode version: Not installed
douglasmoraisdev commentedon Nov 6, 2017
This workaround worked for me in app.modules.ts:
Source:
https://forum.ionicframework.com/t/disable-scroll-ionic2-ios9-not-working/44847/9
krunal9421 commentedon Nov 23, 2017
I am facing this issue in android case. Any solution for it.
aymehri commentedon Dec 3, 2017
Hello i'm facing the same issue. Any update?
fishme commentedon Feb 1, 2018
I have the same issue. 2 years old bug...
polfernandez commentedon Feb 21, 2018
Hi guys, I still have the issue. The keyboard moves the whole screen up when it appears. Someone has solved it? :'(
I have the same issue ONLY on iOS
Find attached 2 pictures showing the problem:
--- Normal Screen ---

--- Screen goes up when keyboard appears ---

My code:
IONIC INFO
global packages:
cordova (Cordova CLI) : 6.5.0local packages:
System:
ionitron-bot commentedon Nov 1, 2018
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
Thank you for using Ionic!
ionitron-bot commentedon Nov 1, 2018
Issue moved to: ionic-team/ionic-v3#42