Commit 06df529
authored
fix(theme): scroll theme list to active theme on open (@abulKhasim) (#7774)
When opening the theme selector, the list always starts at the top
regardless of the currently active theme. This means users have to
manually scroll to find their current theme before switching.
This fix scrolls the theme list to the currently active theme when
the selector is opened, so users immediately see their position in the
list.
Steps to reproduce:
1. Set any theme other than the first one (e.g. blueberry dark)
2. Open the theme selector
3. List starts from the top instead of the active theme1 parent 83e90e1 commit 06df529
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
491 | 497 | | |
492 | 498 | | |
493 | 499 | | |
| |||
0 commit comments