flutter_tags icon indicating copy to clipboard operation
flutter_tags copied to clipboard

Preserve the scroll position between tabs (so, after a widget rebuid)

Open Akiat opened this issue 5 years ago • 4 comments

Hi,

First of all, thanks for this great widget 👍

Here is my issue: I have an app with a TabBar, and obvously, multiple tabs. In each tabs I have my Tags widget on the top, with horizontalScroll: true.

I would like to preserve the horizontal scroll position when I switch from a tab to another.

I tried to do that with a ScrollController but there is no controller parameter for the Tags widget.

Is there a way to keep the scroll position after a widget rebuild, without ScrollController ?

Thanks in advance :)

Akiat avatar Nov 15 '20 20:11 Akiat

Hi @Akiat, I will add this feature in the next release.

Dn-a avatar Nov 16 '20 11:11 Dn-a

Great, thank you @Dn-a :)

Do you have any idea when it will be released? (approximatively ?)

Akiat avatar Nov 16 '20 15:11 Akiat

@Akiat I hope next week

Dn-a avatar Nov 17 '20 09:11 Dn-a

Has this feature been added?

Akiat avatar Mar 28 '21 10:03 Akiat