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
  • #18868
Closed
Open
Issue created Jan 13, 2016 by Administrator@rootContributor

Toggleable navbars do not transition on collapse

Created by: davidjb

Looking at the v4 documentation page for Navbars (http://v4-alpha.getbootstrap.com/components/navbar/#collapsible-content), the first collapsible content example smoothly transitions on close, but the responsive navbar (second example) collapses immediately without a transition.

Example showing with and without a clearfix: http://codepen.io/davidjb/full/NxvxGe/

The issue (assuming unintentional) appears to be related to the floats within the .collapse element. With only floated elements inside (eg .navbar-brand and .nav-item), the transition occurs on open, but not on close. By adding something like a .clearfix to the collapse navbar-toggeable-*, the issue is worked around.

The same results are seen in my testing under Firefox 45a2 and Chromium 47.0.2526.73 on Ubuntu 15.10.

Assignee
Assign to
Time tracking