Dropdowns overlap hiding some values

two dropdown vertically, if first one is clicked, the second is on top hiding values from the first one
esp32/arduino ide

not only with dropdowns, other objects too, seems that the dropdown does not get top level focus
here is an example with a label that is below the dropdown

For the first issue, you can make an object move to the top automatically by enabling lv_obj_set_top.

For the second issue, you should create the label(s) before the dropdown(s) in order for the dropdowns to be drawn after the labels. Or, you can manually move the dropdowns to the foreground at creation with lv_obj_move_foreground.

3 Likes

that did the trick, thanks