Open rockychan opened 2 months ago
Sorry not really related to your matter @rockychan, i just want to know if you have any idea about my problem. dropdown position auto works fine when you focus on input search and your dropdown is near bottom which might get covered by the keyboard it automatically goes up right above the keyboard. the problem is how about when dropdown is just right above the keyboard and does not trigger the setting of position to top? dropdown gets covered by the keyboard.
i have multiple dropdown inside scrollview, so sometimes dropdown is near bottom or just right enough above the keyboard that wont trigger the changing of position.
i also tried setting manually dropdown position to top whenever keyboard is open but dropdown loses the automatic functionality where in if user focus on search input it goes right above the keyboard.
Issue: The bottom space is small to show a reasonable size of dropdown when
dropdownPosition
isauto
and it shows atbottom
after calculation. Because of bottom space of value100
and150
(search = true
) are determined as enough to show the dropdown inbottom
.Solution: Determine bottom space by half of the device height