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

Mobile tabs #11954

Closed
sergeyklay opened this issue Dec 20, 2013 · 5 comments · May be fixed by javakian/bootstrap#20 or baby636/doughkit#44
Closed

Mobile tabs #11954

sergeyklay opened this issue Dec 20, 2013 · 5 comments · May be fixed by javakian/bootstrap#20 or baby636/doughkit#44

Comments

@sergeyklay
Copy link

Hi!

I don't know can I here ask questions and seek help. But I would venture : )
Explain to me how should looks like tabs in mobile view?

Code

<div id="tabs">
    <ul class="nav nav-tabs">
        <li class="active first"><a href="#">Inbox</a></li>
        <li><a href="#">Sent Mail</a></li>
        <li><a href="#">Drafts</a></li>
        <li><a href="#">All Messages</a></li>
    </ul>
</div>

Screenshot
2013-12-20_363x213_scrot

Is possible somehow make them more mobile, or at least fix this terrible view?

P.S. Active tab have custom style

@boulox
Copy link
Contributor

boulox commented Dec 20, 2013

You best bet so far should be to stack the tab for mobile view. Check https://github.com/frequent/tabview for example behaviour (unfortunetly this is for jquerymobile). This approach been discuss couple of time in bootstrap issue but always been closed by core dev. :(

@carasmo
Copy link

carasmo commented Dec 20, 2013

This http://openam.github.io/bootstrap-responsive-tabs/ ROCKS!!! turns into an accordion and kicks ass!

@mdo
Copy link
Member

mdo commented Dec 20, 2013

Yup, we don't support them currently. I'm not against it, but the payoff doesn't seem that great when we're talking about remixing one component into another for only one viewport range.

@sergeyklay
Copy link
Author

@mdo Yes you're right. In this connection I is only interested in native solution. Thanks @boulox and @carasmo
Mb some hack? : )

@mdo
Copy link
Member

mdo commented Dec 20, 2013

We won't be adding any hacks to do this, and I imagine it's too late to try to work this into v3 anyway since it'd change the behavior of the component as it is now. We'd have to add a new component or wait to v4, which I'm more inclined to do.

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