Commit fe5b943
committed
Use tab animation even when tab has focusable content
Reverts the "destructive read" commit because the event may fire twice now, and removing the scroll direction would lead the second event to scroll to a wrong (i.e. not offset) position. So we live with the extra event (in cases where there is no focusable content; probably not the common use-case), and live with the AP/DP value surviving.1 parent eca4a48 commit fe5b943
File tree
2 files changed
+5
-2
lines changed- src/MaterialDesignThemes.Wpf
- Behaviors/Internal
- Internal
2 files changed
+5
-2
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
0 commit comments