Skip to content

fix scroll bug #6125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 25, 2022
Merged

fix scroll bug #6125

merged 8 commits into from
Jun 25, 2022

Conversation

chenxsan
Copy link
Member

Say you are on page https://webpack.js.org/configuration/module/#modulegenerator, then you want to go another page's section, e.g.,

Clicking the side bar would load the new page, but it won't scroll to the section.

Not sure since when it's broken.

@vercel
Copy link

vercel bot commented Apr 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
webpack-js-org ✅ Ready (Inspect) Visit Preview Jun 24, 2022 at 3:03AM (UTC)

@chenxsan
Copy link
Member Author

I think I've found the culprit #5809. The preview site works just fine before this pull request.

@snitin315
Copy link
Member

Interesting. Not sure how dev-server is related here since it is a dev dependency.

@chenxsan
Copy link
Member Author

This is more like an issue existing for a long time according to remix-run/react-router#394, obviously we were not handling the dynamic loaded part.

@chenxsan chenxsan marked this pull request as ready for review June 24, 2022 02:56
@chenxsan chenxsan added the App label Jun 24, 2022
@chenxsan chenxsan merged commit 02fb7bd into webpack:master Jun 25, 2022
@chenxsan chenxsan deleted the bugfix/fix-anchor branch June 25, 2022 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants