fix: [Community Settings] Tokens page is not scrollable...

... from within the gridView

Set the ListView/GridView `interactive: false` to unbreak touchpad
scrolling; those views are unrolled anyway

Fixes #11959
This commit is contained in:
Lukáš Tinkl 2024-02-05 12:06:05 +01:00 committed by Lukáš Tinkl
parent 9db48a986a
commit d537807fbd
1 changed files with 3 additions and 1 deletions

View File

@ -167,13 +167,14 @@ StatusScrollView {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: contentHeight Layout.preferredHeight: contentHeight
interactive: false
visible: count > 0 visible: count > 0
model: assetsModel model: assetsModel
delegate: StatusListItem { delegate: StatusListItem {
height: 64 height: 64
width: mainLayout.width width: ListView.view.width
title: model.name ?? "" title: model.name ?? ""
subTitle: model.symbol ?? "" subTitle: model.symbol ?? ""
asset.name: model.image ? model.image : "" asset.name: model.image ? model.image : ""
@ -221,6 +222,7 @@ StatusScrollView {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: childrenRect.height Layout.preferredHeight: childrenRect.height
interactive: false
visible: count > 0 visible: count > 0
model: SortFilterProxyModel { model: SortFilterProxyModel {