You know what I’m talking about, the keyboard hides the reply/new topic box which is annoying.
References:
- Reply box disappears behind keyboard on mobile
- General usability (of this forum) with SFOS browser
- [3.4.0.24] [BUG] Keyboard in browser hides the textbox of Sailfish OS Forum
To fix:
create the directory ${HOME}/.local/share/org.sailfishos/browser/.mozilla/chrome
In there, create a file called userContent.css
put the following in there (this is the basic version, see other alternatives below):
@-moz-document domain("forum.sailfishos.org") {
#reply-control.open {
height: 750px !important;
}
}
Close the browser, restart and use the forum.
Notes:
- use a value about 3/4 of your screen height. 750 works for me on Xperia10, but see below for alternatives.
-
This “breaks” landscape mode, as there the window will be too high. Someone with more experience in CSS might have a suggestion about this.fixed, see answers below. - if you’re on a release lower than SFOS 4.x, the path is not
.local/share/org.sailfishos/browser/.mozilla/chrome
but rather~/.mozilla/mozembed/chrome