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

Does not work :target pseudo selector of CSS #100

Open
DilshadNoshad opened this issue Aug 10, 2022 · 2 comments
Open

Does not work :target pseudo selector of CSS #100

DilshadNoshad opened this issue Aug 10, 2022 · 2 comments

Comments

@DilshadNoshad
Copy link

No description provided.

@rafgraph
Copy link
Owner

Hi, please provide a failing example using code sandbox (or something similar). Thanks.

@bibekg
Copy link

bibekg commented Mar 29, 2023

Also experiencing this issue. Here's a code sandbox to repro. https://codesandbox.io/s/react-router-hash-link-issue-100-jube42

Clicking the "Test 1" and "Test 2" links should give the headings a short highlighting animation but they don't. You can confirm in DevTools that manually applying the :target selector does behave as expected.

CleanShot.2023-03-29.at.12.10.31.mp4

I'm not totally sure but this may just be an issue with React Router itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants