Hi Guys!
I have some weird issue with “current” state of nav link. It is not been displayed when I try to use in a anchor navigation. I do this in another project but now it is not working anymore. It’s a bug? Can you help me?
Hi Guys!
I have some weird issue with “current” state of nav link. It is not been displayed when I try to use in a anchor navigation. I do this in another project but now it is not working anymore. It’s a bug? Can you help me?
Thanks for posting about this. I was also unable to select the current class for those anchor links. I have reported the issue to the team and we will investigate the issue.
I will post back here when I have more information.
Thanks in advance for your patience.
A quick workaround would be to link that to the current page (like the home page) temporarily and then styling out the current state:
After more investigation I found that this is a known issue where current class cannot be selected when anchor ID starts with a number.
Can you please rename your Section IDs to letters, one, two and three instead of numbers?
Please let me know if this workaround solves the problem.
Yeah!
It works now.
Thanks for your help!
![]()
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.