Dropdown outside the container

Description

I have a container in which there is a drop-down list, and not all of it is drawn, but only the part that is in the container

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

ESP32

What LVGL version are you using?

v6-0

What do you want to achieve?

What have you tried so far?

I want the dropdown to be completely in the container (even if there are 200 lists), maybe I can dynamically resize the container somehow

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

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.

It’s a limitation of 6.x. You’d have to resize the container yourself. 7.0+ use a different dropdown implementation which should not be affected by the container size.

thanks so much