1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test
Olivier Tassinari b02fff63d0 Fix broken hash scroll logic (#4766)
`<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.
2018-08-11 13:04:16 -07:00
..
integration Fix broken hash scroll logic (#4766) 2018-08-11 13:04:16 -07:00
isolated Compile pages to .next/static directory (#4828) 2018-07-25 13:45:42 +02:00
lib [WIP] Webpack 4, react-error-overlay, react-loadable (#4639) 2018-07-24 11:24:40 +02:00
node_modules Handle empty assetPrefix scenario properly. (#3667) 2018-02-03 17:12:01 +01:00
unit Throw error if getInitialProps is defined as as instance method (#4922) 2018-08-09 10:13:44 -07:00
.babelrc Speed up tests (#4102) 2018-04-03 14:43:56 +02:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00