mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fix: search page vertical scrollbar moves on horizontal scroll #1017
This commit is contained in:
parent
988a975bf1
commit
c203ac69ee
@ -55,6 +55,9 @@ class HorizontalPlaybuttonCardView<T> extends HookWidget {
|
||||
),
|
||||
SizedBox(
|
||||
height: height,
|
||||
child: NotificationListener(
|
||||
// disable multiple scrollbar to use this
|
||||
onNotification: (notification) => true,
|
||||
child: ScrollConfiguration(
|
||||
behavior: ScrollConfiguration.of(context).copyWith(
|
||||
dragDevices: {
|
||||
@ -90,8 +93,8 @@ class HorizontalPlaybuttonCardView<T> extends HookWidget {
|
||||
PlaylistCard(item as PlaylistSimple),
|
||||
Album => AlbumCard(item as Album),
|
||||
Artist => Padding(
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 12.0),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 12.0),
|
||||
child: ArtistCard(item as Artist),
|
||||
),
|
||||
_ => const SizedBox.shrink(),
|
||||
@ -99,6 +102,7 @@ class HorizontalPlaybuttonCardView<T> extends HookWidget {
|
||||
}),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user