How to get keyboard to draw over dropdowns


Keyboard is drawing over buttons OK, but not over dropdowns.

What MCU/Processor/Board and compiler are you using?

Windows, ESP32

What LVGL version are you using?


What do you want to achieve?

Have the keyboard draw over everything.

The green box is a text area.

When I click on it, I show the keyboard and point it to the text area. It draws over the buttons at the bottom OK, but the dropdown is NOT drawn over.

Hi @mattb.351 ,

You should be able to use this function: lv_obj_move_foreground(your_keyboard_obj); the relevant documentation is here

Kind Regards,


Thanks, I didn’t know about that function. I’ve never needed it, everything has always just worked.

1 Like