List scroll with encoder


I have 10 buttons and the list can show 7 and the encoder only navigates over that 7 elements ignoring the non visible buttons

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

ESP32-SPI TFT/Arduino 1.8.13

What LVGL version are you using?


What do you want to achieve?

I want to be able to navigate through all elements of the list

What have you tried so far?

I’ve tried by showing the scroll bar always but same resultv:
lv_list_set_scrollbar_mode(list1, LV_SCRLBAR_MODE_ON);

Code to reproduce

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.