rsnext/packages/next/src
Jan Kaifer b386f680cc
Update handling of autoscrolling on navigation in app (#43845)
- Add support for scrolling to the sides and down when navigating
- Add tests for vertical scrolling
- Add tests for horizontal scrolling
- Add tests for `router.refresh()`
	- should not scroll by itself
	- should not block router.push from scrolling
	- should not scroll when page refreshed using fash refresh
- Scroll to the top of document if that gets page into viewport
	- I didn't want to implement some heuristics on if we can scroll to the top of the page so I just scroll there and check.
	- This implementation may not play well with some nested scrollable containers (but that never worked, just FYI)
	
- Improved typings on `BrowserInterface` a little - backward compatible change.

Co-authored-by: Shu Ding <3676859+shuding@users.noreply.github.com>
2023-01-24 15:41:06 +00:00
..
bin Move core files to src folder and move JS files to TypeScript (#44405) 2023-01-03 10:05:50 +01:00
build Revert "Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)"" (#45196) 2023-01-24 13:21:59 +00:00
bundles Move core files to src folder and move JS files to TypeScript (#44405) 2023-01-03 10:05:50 +01:00
cli Add debug info to static bailout message (#45192) 2023-01-23 13:25:00 -08:00
client Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00
compiled Update pre-compiled (#44874) 2023-01-13 17:52:35 -08:00
export Add debug info to static bailout message (#45192) 2023-01-23 13:25:00 -08:00
lib Revert "Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)"" (#45196) 2023-01-24 13:21:59 +00:00
pages Move core files to src folder and move JS files to TypeScript (#44405) 2023-01-03 10:05:50 +01:00
server Revert "Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)"" (#45196) 2023-01-24 13:21:59 +00:00
shared/lib Update handling of autoscrolling on navigation in app (#43845) 2023-01-24 15:41:06 +00:00
telemetry Ensure config warnings only show once (#45142) 2023-01-21 22:47:24 -08:00
trace Gracefully handle telemetry not being available (#44986) 2023-01-17 16:00:22 -08:00