You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.
I use sticky.js to fix the header of a client site. When fixed, some elements are hidden. so the header shriks.
In the header is a searchbox.
So, now the issue:
When I click on a iPhone/Chrome in the non-sticky header-searchbox, the page scrolls to keep the searchbox in viewport, the header gets sticky and shrinks. then the keyboard is appears. For unknown reasons the complete viewport seems to be pushed upward, so the sticky header is scolling out of the viewport.
As I red, this theems to be an issue with iOS.
I found this solution: https://stackoverflow.com/questions/14492613/ios-ipad-fixed-position-breaks-when-keyboard-is-opened
It works fine, if the header is sticky before. But with the shrinking header on intial view/clicking in searchbox, it does not work.
How can I fix this?
Best regards!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I use sticky.js to fix the header of a client site. When fixed, some elements are hidden. so the header shriks.
In the header is a searchbox.
So, now the issue:
When I click on a iPhone/Chrome in the non-sticky header-searchbox, the page scrolls to keep the searchbox in viewport, the header gets sticky and shrinks. then the keyboard is appears. For unknown reasons the complete viewport seems to be pushed upward, so the sticky header is scolling out of the viewport.
As I red, this theems to be an issue with iOS.
I found this solution:
https://stackoverflow.com/questions/14492613/ios-ipad-fixed-position-breaks-when-keyboard-is-opened
It works fine, if the header is sticky before. But with the shrinking header on intial view/clicking in searchbox, it does not work.
How can I fix this?
Best regards!
The text was updated successfully, but these errors were encountered: