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: Ios safari webview jumps up when user clicks on postinumero #109

Open
EsaMakinen opened this issue Mar 27, 2020 · 1 comment
Open
Assignees
Labels
bug Something isn't working front-end front-end related issues

Comments

@EsaMakinen
Copy link
Contributor

When user clicks on postinumero field on HS Ios app, the screen jumps up and the field disappears from view.

@EsaMakinen EsaMakinen added the bug Something isn't working label Mar 27, 2020
@Doniee
Copy link
Contributor

Doniee commented Apr 1, 2020

Just to keep this info saved somewhere, these were the initial issues:

  • iPhone8/Safari (possibly within the app?), the form disappears if a number input (how many days...) is focused
  • iPhone8 (inside the app) "To reproduce the bug: first activate the day selector, how many days you have been sick. Then go down and activate the postal number selector" -> page scrolls up.

This is hard to test and debug without some kind of app development setup. But there was also some weird scrolling behaviour in mobile Safari, for example iOS 11 iPhone 8 Safari it scrolls down to the end of the form (or to the comment section) when the Start button is pressed. And on iPhone 7 scrolls to the bottom on submit. Could be related to the focus changes that we make with JS to ensure accessibility (the focus is moved to the appearing content so the page scrolls there, and maybe Safari somehow scrolls the wrong amount).

@Doniee Doniee added the front-end front-end related issues label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end front-end related issues
Projects
None yet
Development

No branches or pull requests

2 participants