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
  • #37954
Closed
Open
Issue created Jan 25, 2023 by Administrator@rootContributor3 of 3 checklist items completed3/3 checklist items

dropup within collapsed navbar displays upward caret instead of downward

Created by: Hopper262

Prerequisites

  • I have searched for duplicate or closed issues
  • I have validated any HTML to avoid common problems
  • I have read the contributing guidelines

Describe the issue

Within a navbar, one can use the .dropup class for upward-expanding dropdowns, which works great for footer navigation. When the dropup is collapsed behind a toggler, it always expands downward (which makes sense), but the caret still points up. I expected the downward-pointing caret to be used when it's in the collapsed state.

I'm not sure whether the dropup case is officially supported -- there are no examples showing it -- but it's super helpful and I've noticed no problems aside from this minor cosmetic glitch.

Reduced test cases

https://stackblitz.com/edit/xkvnwe?file=index.html

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome, Safari

What version of Bootstrap are you using?

v5.2.3

Assignee
Assign to
Time tracking