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
  • !25400

Add basic position to dropup/right/left and dropdown-menu-right

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/ysds/dropdown-basic-position2 into v4-dev Jan 22, 2018
  • Overview 0
  • Commits 5
  • Pipelines 0
  • Changes 2

Created by: ysds

(This PR is a modified version of my old PR #25324)

This PR will make the following improvements:

  • Allow dropright and dropleft on navbar (#25304 (closed))
  • Add basic position to dropup, dropright, dropleft and dropdown-menu-right for disabled popper position in the future enhancement (#24092).

Demo:

  • Current (Please see the red links)
    • If merged this PR
  • If merged #24092 (Please see the static menus)
    • If merged this PR and #24092

Note:

  • The direction of carets on navbar is not responsive. (e.g. a caret of dropright is turning to the right even on mobile.)
  • display is not defined for dropright. In many cases it should be use in/on an inline element (.btn-group or .d-inline-block etc). Otherwise the dropright menu will jump to the right end (left: 100%) of the div.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ysds/dropdown-basic-position2