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
  • Merge requests
  • !2065

Fixed wrong behaviour when using collapse + dropdown in responsive css

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/tagliala/collapse-dropdown-fix into master Feb 18, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: tagliala

Dear all,

I noticed a wrong behaviour when using collapse, dropdown menus and the responsive layout.

You can check it out yourselves on your examples page:

http://twitter.github.com/bootstrap/components.html#navbar

  1. Reduce the width of the page until the navbar "project name" collapses (scroll down the page and find the navbar again)
  2. Click on the collapse button
  3. Expand the page again until the navbar "project-name" un-collapses
  4. Click on the dropdown menu

It will not appear 'cause bootstrap remembers that the navbar is collapsed and the overflow property is hidden

This patch adds

    overflow : visible !important;

at line 398 of bootstrap-responsive.less

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tagliala/collapse-dropdown-fix