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

Shouldn't scroll to Top after keyboard dismissal #509

Closed
Amaury-T opened this issue Feb 5, 2020 · 3 comments
Closed

Shouldn't scroll to Top after keyboard dismissal #509

Amaury-T opened this issue Feb 5, 2020 · 3 comments

Comments

@Amaury-T
Copy link

Amaury-T commented Feb 5, 2020

Hello,
I have a problem when using this plugin. After each keaybord dismissal, screen is scroll to the top of the app. It is a real problem because the user experience is really bad like that.

How can I fix that?

Thanks a lot in advance!
BR

@Amaury-T
Copy link
Author

Amaury-T commented Feb 5, 2020

### EDIT:

Doing what is sugested below screw scroll position... When i scroll down, go to a link, new page is scrolled down too.. Switch a bad UX for another...

Why is this plugin doing a scroll top on each input blur ???

Please someone can help ?

BR


This does not work and mess with scroll position...

I have made the body of my app non-scrollable and have added a div just below wich is scrollable.

<body>
  <div class="main">
    ...
  </div>
</body>
body {
  overflow: hidden;
  height: 100vh;
}

.main {
  overflow: scroll;
  height: 100%;
}

@Lindsay-Needs-Sleep
Copy link
Contributor

Duplicate issue of #399

@jcesarmobile
Copy link
Member

fixed in #533

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

3 participants