flutter_section_table_view icon indicating copy to clipboard operation
flutter_section_table_view copied to clipboard

Issue with the scrolling performance

Open numen31337 opened this issue 5 years ago • 6 comments

In case of using animateTo or even jumpTo function to scroll the table to some target area, every single cell on the way will be rendered. This feature is completely unusable when using for jumping to some area of a long list (500 items and more) as it will render every single cell on the way to the target. I would expect at least jumpTo function to avoid rendering every single cell on the way.

numen31337 avatar Mar 25 '19 13:03 numen31337

Thank you for submitting this great issue, it's a problem, but the render things are handled by flutter framework itself, I just wrapped ListView widget, jumpTo method is also ListView's, so I have no idea to improve the performance of this package currently, do you have any ideas about this? thanks

Realank avatar Mar 26 '19 03:03 Realank

I‘m a new to the Flutter ecosystem as we all are :) Unfortunately it's hard for me to purpose some solution right away. I will look into this issue a bit later and purpose something if I will come up with some ideas.

numen31337 avatar Mar 26 '19 09:03 numen31337

If I want to use the refresh function, do I need to determine the height of each cell?

jizhigang avatar Apr 10 '19 02:04 jizhigang

Here is the relevant discussion, just for reference https://github.com/flutter/flutter/issues/12319

numen31337 avatar Apr 15 '19 10:04 numen31337

thank you 😄

------------------ 原始邮件 ------------------ 发件人: "Oleksandr"[email protected]; 发送时间: 2019年4月15日(星期一) 晚上6:25 收件人: "Realank/flutter_section_table_view"[email protected]; 抄送: "!!"[email protected]; "Comment"[email protected]; 主题: Re: [Realank/flutter_section_table_view] Issue with the scrollingperformance (#5)

Here is the relevant discussion, just for reference flutter/flutter#12319

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jizhigang avatar Apr 15 '19 10:04 jizhigang

@jizhigang no you shouldn't. height is necessary for calculating scroll offset related callbacks

Realank avatar Apr 16 '19 00:04 Realank