Commit ef1b41f
Skip launch-restore scroll on macOS 12 to avoid corrupted List offset
On macOS 12, scrolling a SwiftUI List that is still settling its initial
layout corrupts the scroll offset, leaving both the sidebar and article
list pushed down with empty space above after launch. Gate the
launch-time restore scrolls behind macOS 13 while keeping selection
restore and article loading intact; user-initiated scrolls are
unaffected on all versions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 6e5a2a9 commit ef1b41f
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
818 | 821 | | |
819 | 822 | | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
820 | 829 | | |
821 | 830 | | |
822 | 831 | | |
823 | | - | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
824 | 835 | | |
825 | 836 | | |
826 | 837 | | |
| |||
841 | 852 | | |
842 | 853 | | |
843 | 854 | | |
844 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
845 | 860 | | |
846 | 861 | | |
847 | 862 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments