On screen keyboard is hiding content

2019-05-30 00:46发布

I have an autocomplete text box that when typed in will show results in a popup directly below itself.

But when the user is using a virtual keyboard as soon as the keyboard shows it will scroll the the bottom of the textbox, This hides the results from showing when they appear.

Is there a way for me to get around this?

The only way i can think of is to set the vertical offset of the popup on each keypress that will position it above the textbox instead of below. But this is not how i would like it to work, i would much prefer the results to push the keyboard down or to scroll up the page.

1条回答
Viruses.
2楼-- · 2019-05-30 01:39
登录 后发表回答