mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
b02fff63d0
`<Container>` does not receive any property. There is no way the *scrollToHash* logic can work right now. I believe it's a regression. It was working fine at some point. I'm sorry, I'm too lazy to add a test.
This fix was tested on Material-UI 👌.
This bug reproduction is the following:
As soon as you want to transition to a new page with a hash. The scroll doesn't change.
- start on pageA
- you scrollTop to 100
- you move to pageB#hash
- you stay at scrollTop 100, but #hash is at scrollTop 400.
|
||
---|---|---|
.. | ||
dynamic | ||
hmr | ||
nav | ||
nested-cdm | ||
using-asset | ||
async-props.js | ||
custom-encoding.js | ||
custom-extension.jsx | ||
empty-get-initial-props.js | ||
error-in-the-browser-global-scope.js | ||
error-in-the-global-scope.js | ||
error-inside-browser-page.js | ||
error-inside-page.js | ||
fragment-syntax.js | ||
head.js | ||
index.js | ||
json.js | ||
link.js | ||
no-default-export.js | ||
stateful.js | ||
stateless.js | ||
styled-jsx.js | ||
url-prop-override.js | ||
url-prop.js | ||
with-cdm.js |