Don
03.Февраль.2023 07:17:20
1
Здравствуйте,
Я заметил это на Android. Автозаполнение открывается вниз. Похоже, это связано с тем, что клавиатура открывается, и создается впечатление, что внизу достаточно места.
Демо
Спасибо
2 лайка
j.jaffeux
(Joffrey Jaffeux)
03.Февраль.2023 19:48:18
2
Отлично подмечено, спасибо
Это должно исправить проблему:
main ← jjaffeux:autocomplete-android
merged 07:47PM - 03 Feb 23 UTC
"fixed" positioning was added when autocomplete was used in the discourse search… header. This shouldn't be needed anymore. This was causing the preventOverflow to not work correctly on Android.
This fix also adds an optimization to refer top of the input when on mobile. This is done to avoid cases where the screen is actually slightly taller than the viewport with the keyboard visible on Android, leading popper to think there's space under the input.
If necessary "fixed" will be added again on very specific cases.
3 лайка
j.jaffeux
(Joffrey Jaffeux)
Закрыл(а) тему
06.Февраль.2023 07:00:03
3
Эта тема была автоматически закрыта через 2 дня. Новые ответы больше не принимаются.