added mouse-drag property to ScrollView (#8512)

Closes #2260
This commit is contained in:
Avery Townsend 2025-05-26 16:22:57 -04:00 committed by GitHub
parent ed8089e43b
commit f7fa27b9b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 13 additions and 0 deletions

View file

@ -145,6 +145,7 @@ export component ScrollView {
in-out property <length> viewport-y <=> flickable.viewport-y;
in property <ScrollBarPolicy> vertical-scrollbar-policy <=> vertical-bar.policy;
in property <ScrollBarPolicy> horizontal-scrollbar-policy <=> horizontal-bar.policy;
in property <bool> mouse-drag <=> flickable.interactive;
// FIXME: remove. This property is currently set by the ListView and is used by the native style to draw the scrollbar differently when it has focus
in-out property <bool> has-focus;