I donât know how style my âcurrentâ state of the navigation single item. I made "on hover animation: and I want to have this same look in the âcurrentâ state on my navigation single item. I can change the color of the font but I canât display this yellow line in the âcurrentâ state. Image how âcurrentâ state should look like below
The second issue is font weigh in âcurrentâ state. Labels on navigation are moving every time when I click on them. This is because of the font weight( is bolder) on âcurrentâ state. I donât know how to solve this issue.
Thank you @sarahfrison for your fast reply but unfortunately, your tutorial will not solve my case. Iâm sorry maybe I was not clear enough
I know to how to bring âcurrentâ state in my navigation item but I donât know how to add this yellow line behind the text to âcurrentâ state item.
When Iâm trying to add the yellow line the âcurrentâ tag disappear
In case it helps anyone else: Iâve found that the âCurrentâ state tag can be a bit buggy, sometimes not displaying when expected, causing your state styling to have odd results.
In my case, I went into preview, triggered the Current state, went back out of preview, selected the nav item and it DID NOT display the âCurrentâ tag in the Selector. Worked for other nav items, but this one particular item just wouldnât display it.
In order to fix it, I created a new subclass on the item called âCurrentâ, and creating this forced the UI to update and display the âCurrentâ state tag as well, which then allowed me to edit it as expected.