GithubHelp home page GithubHelp logo

Comments (9)

mhascak avatar mhascak commented on May 17, 2024 7

I solve this bug by this code:

$('.panel-collapse').on('show.bs.collapse', function (e) {
          $(e.target).closest('.panel').siblings().find('.panel-collapse').collapse('hide');
});

from bootstrap-responsive-tabs.

equiman avatar equiman commented on May 17, 2024 1

I try fix it with @Klainer and I clicked other tab the tab, but they collapse all the tab and don't show clicked tab.

I'll try to debug it, but it's making some kind of endless loop.

from bootstrap-responsive-tabs.

cbier avatar cbier commented on May 17, 2024

This is true! I am having this problem as well. I am surprised that this has slipped by the wayside.

from bootstrap-responsive-tabs.

dandiaczun avatar dandiaczun commented on May 17, 2024

+1

from bootstrap-responsive-tabs.

cbier avatar cbier commented on May 17, 2024

When this script calls collapse('show') on the item that has an active class, twitter bootstrap doesn't read the data-parent attribute from the html that was just made.

twbs/bootstrap#16360
twbs/bootstrap#8400

It looks like an object that specifies the parent has to be passed through with this call.. I am looking into this now.

from bootstrap-responsive-tabs.

sky93 avatar sky93 commented on May 17, 2024

I have the same problem

from bootstrap-responsive-tabs.

netAction avatar netAction commented on May 17, 2024

Same issue here. +1

Klainer's workaround is ok.

from bootstrap-responsive-tabs.

ACPrice avatar ACPrice commented on May 17, 2024

Same issue here, and trying Klainer's fix gave me the infinite loop mentioned by equiman

from bootstrap-responsive-tabs.

Nepal99 avatar Nepal99 commented on May 17, 2024

Is there any updated fix for this issue..!

from bootstrap-responsive-tabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.