Sto usando l’ultima versione di Firefox su Android 11 (Fairphone 4), noto che spesso combatto con l’interfaccia utente. È un comportamento normale? Non ho un browser basato su Chrome sul mio telefono, ma ne ho visti altri usarlo. Lì è sempre stato fluido. Dovrei aspettarmi che Firefox sia meno testato e perfezionato quando si usa Discourse?
Moin
25 Settembre 2022, 8:17am
2
Penso che questo sia stato segnalato in precedenza e spero che ci sarà presto una soluzione.
main ← android-keyboard-fixes-3
opened 07:35PM - 20 Sep 22 UTC
Firefox has a bug where *sometimes* the visualViewport.height won't be
updated w… hen the keyboard pops up until you scroll, making our composer
stay hidden behind the keyboard. This commit uses both window.innerHeight and window.visualViewport.height using the minimum of both to check for height changes.
For Chrome/Edge we feature detect the new VirtualKeyboard API and
opt-into it when the composer opens and use it to detect if a keyboard
is being draw. Opting into the API changes how the viewport is
calculated so we have to also change how the full height composer is
calculated. To minimize breakage we opt-out when the composer component
is destroyed.
This commit also moves the `--composer-ipad-padding` to only happen on
iPads.
Bug report at https://meta.discourse.org/t/-/228382
4 Mi Piace
Falco
(Falco)
25 Settembre 2022, 7:56pm
3
2 Mi Piace