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

Reducible Tabs lose their content when no active state is set on mobile #116

Open
hugopeek opened this issue Aug 25, 2017 · 0 comments
Open

Comments

@hugopeek
Copy link
Owner

Unlike accordions, tabs always need to have one active state set. So when all accordions of a reducible tab are closed on mobile, the tabs run into issues where it can't display its contents anymore, since no active state was found when initializing .tab().

It's probably a rare scenario, since it only happens when making the viewport bigger without a refresh. For end users, I'd imagine this would only be when switching a medium sized screen like a tablet from portrait to landscape mode.

Nevertheless, disappearing content is never a good thing..

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

No branches or pull requests

1 participant