diff options
author | Ivan Tkachenko <me@ratijas.tk> | 2024-06-04 02:56:15 +0600 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2024-06-22 22:55:35 -0700 |
commit | c3a1a91581d1cb9517ee4ee45e139f80340248ee (patch) | |
tree | 6b26eba88153b43f88c26434ce866b1c01bf9992 /LICENSES/GFDL-1.3-no-invariants-only.txt | |
parent | e94bd61da37270f9fa54c3b2202b13a3f388118d (diff) |
...to fix snapping behavior of
ListView { snapMode: SnapOneItem; delegate: ListView { ...} }
It doesn't accept the event with ScrollBegin phase, so shouldn't do it
for the ScrollEnd phase either.
Accepting ScrollEnd unconditionally broke nested ListView, for example,
where the higher-level one wouldn't snap back to the delgate and would
get stuck in a moving state -- that is, until you click it so that the
mouseReleaseEvent cleans it up.
Fixes: QTBUG-126042
Pick-to: 6.5 6.7 6.8
Change-Id: I94b0a3570e4750d68501095c56f06f5cca31923f
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'LICENSES/GFDL-1.3-no-invariants-only.txt')
0 files changed, 0 insertions, 0 deletions