Commit 52b255f
fix: adjust scrollbar visibility conditions
Fixed scrollbar visibility logic to properly handle AlwaysOn policy
with hover/pressed states. The original condition would show scrollbar
in AlwaysOn mode even when hovered or pressed, which caused visual
inconsistency. Now the scrollbar only shows in AlwaysOn mode when not
hovered and not pressed, maintaining consistent behavior with other
states.
fix: 调整滚动条可见性条件
修复滚动条可见性逻辑以正确处理 AlwaysOn 策略与悬停/按下状态。原始条件会
在 AlwaysOn 模式下即使悬停或按下时也显示滚动条,这导致视觉不一致。现在
滚动条仅在未悬停且未按下时的 AlwaysOn 模式下显示,保持与其他状态一致的
行为。
Pms: BUG-3320311 parent c56e04e commit 52b255f
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments