Commit ffa4e25
committed
Fix Client Performance Retry button not re-detecting IP (#597)
* Fix mobile nav bar getting stuck hidden on state change and client retry on IP change
- Add ResizeObserver to force-show nav bar when content shrinks below scrollable
- Change Client Performance Retry button to full page reload so HttpContext re-detects IP
* Fix nav bar stuck hidden at top of page - clear auto-hide timer instead of starting it
At scrollTop=0, the bar would show then auto-hide after 2s with no way to
scroll further up to recover it. Now clears the timer so the bar stays visible
at the top of the page.
* Preserve initial auto-hide but prevent stuck nav on scroll-back-to-top
Track hasScrolledDown flag so auto-hide at scrollTop=0 only fires on
initial page load. Once the user scrolls down and back up, they're
reaching for the nav - keep it visible. Reset flag on navigation.
* Only set hasScrolledDown on real scroll-down hide, not on layout-shift events
* Revert nav bar auto-hide changes - was a Blazor connection issue, not a scroll bug
* Add Retry button to Device Offline banner1 parent d13fa62 commit ffa4e25
1 file changed
Lines changed: 2 additions & 7 deletions
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
1638 | 1639 | | |
1639 | 1640 | | |
1640 | 1641 | | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | 1642 | | |
1648 | 1643 | | |
1649 | 1644 | | |
| |||
0 commit comments