Commit 68a711f
feat: add sticky header tab navigation example
Sticky tab bar pattern using IntersectionObserver sentinel for sticky
state detection, scrollTo with scrollend event for tab-section navigation,
and reverse traversal for scroll-to-tab sync. Includes visual concept
diagrams and README documentation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cb5f807 commit 68a711f
6 files changed
Lines changed: 937 additions & 0 deletions
File tree
- apps/lab/src/routes
- sticky-header
- -sub
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
0 commit comments