flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.02k stars 426 forks source link

Scroll=ScrollMode.ALWAYS horizontal sliding is very laggy #3959

Open JFScorpio opened 2 weeks ago

JFScorpio commented 2 weeks ago

Duplicate Check

Describe the bug

Scroll=ScrollMode.ALWAYS / AUTO horizontal sliding is very laggy in Row

Code sample

Container(

content=Row(
    scroll=ScrollMode.ADAPTIVE,
    spacing=30,
    controls=[
        Container(
            height=260,
            width=260,
            bgcolor=tabs_color,
            border_radius=br,
            content=Row(
                spacing=15,
                alignment='center',
                controls=[
                    Container(
                        height=70,
                        width=70,
                        border_radius=15,
                        bgcolor=tabs_grey,
                        content=Image(
                            src='plus.png',
                            scale=0.5
                        )
                    ),
                    Text(
                        value='Add URL',
                        font_family='montserrat medium',
                        size=20,
                    )
                ]
            )

        ),
        ]*10
)

)

To reproduce

see demo code

Expected behavior

No response

Screenshots / Videos

Captures [Upload media here]

Operating System

Windows

Operating system details

windows 11

Flet version

0.24.0 and 0.24.1

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

Logs ```console [Paste your logs here] ```

Additional details

No response

tsiens commented 5 days ago

me too, Very awkward in the row, very smooth in the column