gtk-flutter / libadwaita

Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.
https://pub.dev/packages/libadwaita
Mozilla Public License 2.0
238 stars 17 forks source link

Multiple scrollbars in Avatar page #37

Closed MalcolmMielle closed 2 years ago

MalcolmMielle commented 2 years ago

When scrolling on the avatar page, I got it by this error:

Exception has occurred.
FlutterError (The provided ScrollController is currently attached to more than one ScrollPosition.
The Scrollbar requires a single ScrollPosition in order to be painted.
When the scrollbar is interactive, the associated Scrollable widgets must have unique ScrollControllers. The provided ScrollController must be unique to a Scrollable widget.)

@jesusrp98 could have a look at it since it seems related to your latest PR :)?

Otherwise, this error comes in pretty often when adding pages in the Adw example app. Is there any way we could restrict it so that it doesn't happen, e.g. by removing a scrollbar from AdwScaffold or something similar?

jesusrp98 commented 2 years ago

I'll take a look at this issue.