Repository navigation
Commit 152577a
committed
fix(mobile): Home opens below the header
Home restored its saved scroll offset on mount as well as when search closed. React Native's iOS scrollTo clamps against the raw contentInset, which excludes the header inset UIKit adds, so that scroll could leave the first rows under the header. Restore only when search returns to resting, and let programmatic scrolls reach the automatic header inset, as the thread feed already does.1 parent dd14848 commit 152577a
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
319 | 322 | | |
320 | 323 | | |
321 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
322 | 327 | | |
323 | 328 | | |
324 | 329 | | |
| |||
813 | 818 | | |
814 | 819 | | |
815 | 820 | | |
| 821 | + | |
| 822 | + | |
816 | 823 | | |
817 | 824 | | |
818 | 825 | | |
| |||
0 commit comments