From 9bdc6c45cdf234122bd2885b73a8b67462793d68 Mon Sep 17 00:00:00 2001 From: kevinlq Date: Sat, 21 Oct 2023 22:06:25 +0800 Subject: [PATCH] feat: Fixed the problem that the Flu ComboBox quick drop-down display is empty, and the ListView cancels the rebound effect. --- src/Qt5/imports/FluentUI/Controls/FluComboBox.qml | 1 + src/Qt6/imports/FluentUI/Controls/FluComboBox.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml b/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml index c7c3dc72..316c9e62 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml @@ -108,6 +108,7 @@ T.ComboBox { model: control.delegateModel currentIndex: control.highlightedIndex highlightMoveDuration: 0 + boundsMovement: Flickable.StopAtBounds T.ScrollIndicator.vertical: ScrollIndicator { } } enter: Transition { diff --git a/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml b/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml index 12b970e6..d05b792a 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml @@ -108,6 +108,7 @@ T.ComboBox { model: control.delegateModel currentIndex: control.highlightedIndex highlightMoveDuration: 0 + boundsMovement: Flickable.StopAtBounds T.ScrollIndicator.vertical: ScrollIndicator { } } enter: Transition {