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/integration
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
..
app-aspath Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
app-document [WIP] Webpack 4, react-error-overlay, react-loadable (#4639) 2018-07-24 11:24:40 +02:00
babel Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
basic Fix broken hash scroll logic (#4766) 2018-08-11 13:04:16 -07:00
config Add support for rendering .css chunks (#4861) 2018-07-30 15:48:02 +02:00
custom-server Upgrade standard.js (#4064) 2018-03-27 20:11:03 +02:00
dist-dir Clean up references to this.dir and this.dist everywhere (#4535) 2018-06-04 15:45:39 +02:00
ondemand Fix dynamic import page navigation (#4842) 2018-07-26 12:38:45 +02:00
page-extensions Fix Typescript HMR (#4689) 2018-06-28 20:07:41 +02:00
production Run method sorting codemod (#4909) 2018-08-06 20:53:06 -07:00
static Run method sorting codemod (#4909) 2018-08-06 20:53:06 -07:00
with-router Run method sorting codemod (#4909) 2018-08-06 20:53:06 -07:00