-
-
Notifications
You must be signed in to change notification settings - Fork 446
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
Selected tab has no css applied #450
Comments
Could you create an example for this problem? Because I cannot reproduce this on https://reactcommunity.org/react-tabs/ |
@danez @EasyLifeBertolla I was able to recreate this on https://reactcommunity.org/react-tabs/, and also found a workaround. To recreate Workaround It seems to have something to do with the rendering of the Tab title. In each scenario ( But the styling disappears whenever an ellipsis is the content of the tab Hope this helps. |
@danez found out what's happening. I found that the I commented out the I'm assuming the |
Good catch! The Thanks you for investigating! 💜 |
Sorry if I only come back on this now. Thanks for the troubleshooting. I noticed that the issue persists in the latest 6.0.0 release. There might be a reason for that. For me, it was enough to overwrite the rule in my custom CSS like this:
I know this might not be the best solution, but it does the trick for me. Thanks for all your help! |
noticed in version v4.0.1
current solution: backporting to v.3.2.3
Selecting a tab applies the
react-tabs__tab--selected
class to the chosen<li>
element. CSS is being applied, but it's not showing on the selected item. Clicking anywhere else makes styling visible again.Using Chrome developer tools, it seems like the content of the li tag is not being rendered, and therefore the CSS is neither.
The text was updated successfully, but these errors were encountered: