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

TextView on bottom not working right #54

Open
hazzo opened this issue Apr 7, 2019 · 11 comments
Open

TextView on bottom not working right #54

hazzo opened this issue Apr 7, 2019 · 11 comments

Comments

@hazzo
Copy link
Contributor

hazzo commented Apr 7, 2019

Hi,

after doing some testing and seeing similar issues I could not find a solution.
The first scroll when keyboard pops up is alright, but as soon as you start typing the text-view goes to the bottom.

Happens even in the example of the playground app that @NickIliev shows in this issue:
NativeScript/nativescript-angular#1705

Tested on my iPhone and the issue is there.

Thanks for the cool plugin!
I will stick to TextField for now that is working.

@pap5508
Copy link

pap5508 commented May 6, 2019

I am also facing same issue on Textview @tjvantoll any updates ?

@brndusic
Copy link

Seems like this is because of re-render after change is detected, but I don't have a solution for this problem. Any updates?

@DanielRitvas
Copy link

DanielRitvas commented May 22, 2019

Seems like this is because of re-render after change is detected, but I don't have a solution for this problem. Any updates?

Try to wrap your layout with a ScrollView

@brndusic
Copy link

I have tried different approaches and was not able to make it work. All works fine until app fetches data from server and rerenders the view, after that field goes below keyboard and it can not be scrolled up.

@DanielRitvas
Copy link

I have tried different approaches and was not able to make it work. All works fine until app fetches data from server and rerenders the view, after that field goes below keyboard and it can not be scrolled up.

In addition to wrapping your layout with ScrollView, also try to set iosOverflowSafeArea=false on a parent element.

<ScrollView iosOverflowSafeArea="false">
   ...
</ScrollView>

@kennethkeim
Copy link

There is a more complete example here that worked for me: #42 (comment)

@b02505048
Copy link

+1 the problem appear after upgrade to {N} 6.0, got any updates?

I tried ScrollView but no luck...

@DanielRitvas
Copy link

+1 the problem appear after upgrade to {N} 6.0, got any updates?

I tried ScrollView but no luck...

Solution I described still works fine for me on 6.1, so if you want, I can provide a more in-depth example.

@davecoffin
Copy link

Also happening for me...any thoughts @tjvantoll ? Adding a ScrollView is unfortunately not an option for me.

@SergioZhydecky
Copy link

And also happens for me. What to do ?

@dkatheininger
Copy link

dkatheininger commented Sep 23, 2020

Having exactly the same issue (NativeScript 6, Vue.js). @tjvantoll Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants