Skip to content
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

[docs] "Skip to content" button getting in the way of the header navigation #38546

Closed
1 task done
best-wing opened this issue Aug 19, 2023 · 10 comments · Fixed by #38632
Closed
1 task done

[docs] "Skip to content" button getting in the way of the header navigation #38546

best-wing opened this issue Aug 19, 2023 · 10 comments · Fixed by #38632
Labels
bug 🐛 Something doesn't work docs Improvements or additions to the documentation ready to take Help wanted. Guidance available. There is a high chance the change will be accepted regression A bug, but worse

Comments

@best-wing
Copy link

Duplicates

  • I have searched the existing issues

Related page

https://mui.com/material-ui/getting-started/#main-content

Kind of issue

Other

Issue description

Hello world!
I'm a fan of MUI and found a bug at the header navigation.
It occurs only on doc pages for MUI core. But might be same on the other pages.
image
When ever I click here, I get this unwanted element.
Kindly fix this.
I think a lot of people will have trouble with this not only me.

Thanks in advance.

Context 🔦

No response

@best-wing best-wing added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Aug 19, 2023
@danilo-leal danilo-leal changed the title Bug report: Header Navigation doesn't work ATM. [docs] Header navigation not working Aug 19, 2023
@danilo-leal danilo-leal added docs Improvements or additions to the documentation and removed support: docs-feedback Feedback from documentation page status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 19, 2023
@danilo-leal
Copy link
Contributor

Hey @silver613, thanks for opening the issue! When you say "whenever I click here", what are you referring to? Here where?

@best-wing
Copy link
Author

best-wing commented Aug 23, 2023

Please go to this link.
https://mui.com/material-ui/getting-started/#main-content
And try to click here(I attached screenshot).

image

Then you will see the issue.

@Vivek-Prajapatii

This comment was marked as outdated.

@best-wing
Copy link
Author

Hi all. thanks for your considering.
Kindly check this video. I think you will get the point after this.

https://www.loom.com/share/50db6fbe9a9941b48d5b4025296dfcab?sid=68a6ea98-154b-471f-a3e5-bddd487c59b0

If you think this is proper action, plz let me know.

@Vivek-Prajapatii

This comment was marked as outdated.

@best-wing
Copy link
Author

best-wing commented Aug 23, 2023

Yeah, works fine on the other computers. But not working only on my pc.
I tested it on every browsers I have.
What's wrong with my pc do you think?

@danilo-leal
Copy link
Contributor

Uhm, for me, too, I can't reproduce it, regardless of the browser. But appreciate the video! Have you tried doing hard refreshes? Just to clear this option out.

@danilo-leal danilo-leal changed the title [docs] Header navigation not working [docs] "Skip to content" button getting in the way of the header navigation Aug 23, 2023
@danilo-leal danilo-leal added the bug 🐛 Something doesn't work label Aug 23, 2023
@oliviertassinari
Copy link
Member

oliviertassinari commented Aug 24, 2023

The origin & solution of this problem is in the source:

const StyledLink = styled(MuiLink)(({ theme }) => ({

(prefers-reduced-motion)

@oliviertassinari oliviertassinari added the ready to take Help wanted. Guidance available. There is a high chance the change will be accepted label Aug 24, 2023
@oliviertassinari
Copy link
Member

oliviertassinari commented Aug 24, 2023

So, to reproduce, the trick was to have reduce motion enabled, if you want to disable it on your laptop, follow: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion#user_preferences.

@oliviertassinari oliviertassinari added the regression A bug, but worse label Aug 24, 2023
@best-wing
Copy link
Author

@oliviertassinari Wa~, it works after I turned on animation effect on pc settings. Thank you so much. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work docs Improvements or additions to the documentation ready to take Help wanted. Guidance available. There is a high chance the change will be accepted regression A bug, but worse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants