Commit 996fe7e
committed
Smooth mobile nav transitions behind hamburger overlay
Instantly swap sections behind the menu overlay by temporarily
disabling CSS transitions, then fade out the menu to reveal the
new section already in place. Eliminates the flash of the previous
section during navigation.1 parent 0bb8437 commit 996fe7e
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2142 | 2142 | | |
2143 | 2143 | | |
2144 | 2144 | | |
2145 | | - | |
2146 | | - | |
2147 | 2145 | | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2148 | 2153 | | |
2149 | 2154 | | |
2150 | 2155 | | |
2151 | 2156 | | |
| 2157 | + | |
| 2158 | + | |
2152 | 2159 | | |
2153 | 2160 | | |
2154 | 2161 | | |
| |||
0 commit comments