Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Ion-Textarea toggles and losses focus everytime on tap #10828

Closed
shyamal890 opened this issue Mar 18, 2017 · 8 comments
Closed

Bug: Ion-Textarea toggles and losses focus everytime on tap #10828

shyamal890 opened this issue Mar 18, 2017 · 8 comments

Comments

@shyamal890
Copy link

shyamal890 commented Mar 18, 2017

Ionic version: (check one with "x")
[ ] 1.x
[x ] 2.x

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
Clicking/tapping on textarea toggles focus and keyboard.

Expected behavior:
When tap occurs, if the focus/keyboard is not shown -> show keyboard and focus input. If the textarea has focus and keyboard is open -> tap on ion-textarea should not loose focus and close keyboard, instead should allow user to change the location of cursor and select text in textarea.

Steps to reproduce:
Just create a ion-textarea and try in android
-->

Related code:

<ion-textarea class="name-input"
                  placeholder="name"
                  [(ngModel)]="name"></ion-textarea>

EDIT: I tested by wrapping ion-textarea with ion-item and it works fine.

@jgw96 jgw96 added the v2 label Mar 23, 2017
@jgw96
Copy link
Contributor

jgw96 commented Mar 23, 2017

Thanks, we will look into this.

@ejiyuan
Copy link

ejiyuan commented May 5, 2017

+1

@liugogal
Copy link

the same problem
+1

@bhavincb
Copy link

same problem in ionic 3.19.0
+1

@jakobwilkenson
Copy link

Any solution to this?

@pyummm
Copy link

pyummm commented Feb 2, 2018

confirm glitch also, 3.19.1

@madsheep
Copy link

#5744 (comment)

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 1, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants