Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #5859
Closed
Open
Issue created Nov 09, 2012 by Administrator@rootContributor

If the first call to collapse is hide the collapsable will show instead

Created by: mvuksano

If I use collapse component and the first method I call is hide then the collapse will actually show. The problem seems to be the speed of execution. if I step through debugger the component will end up being hidden (although with a flickr - transition to expanded state and then back to hidden is visible).

Also if data-toggle="false" is specified and the first call is made to collapse('hide') it will trigger toggle in the constructor. If the object {toggle:false} is specified toggle is not performed

http://jsbin.com/urunew/1/

Assignee
Assign to
Time tracking