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
  • #32384
Closed
Open
Issue created Dec 08, 2020 by Administrator@rootContributor

Popover overflows container (regression)

Created by: christianboyle

Operating system and version (Windows, macOS, Android, iOS)

  • Windows 10, Build 19042 (10.0.19042)

Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser)

  • Google Chrome, Version 87.0.4280.88 (Official Build) (64-bit)

--

Note: This bug seems to have been introduced during the transition from "popper.js": "^1.16.1" to "@popperjs/core": "^2.5.4".

Steps to reproduce the problem

  1. Visit https://getbootstrap.com/docs/4.5/components/popovers/#four-directions
  2. Trigger "Popover on Left" and "Popover on Right"
  3. Notice both adjust their position to be fully visible inside the body when viewport is sufficiently narrow
  4. Visit https://getbootstrap.com/docs/5.0/components/popovers/#four-directions
  5. Trigger "Popover on Left" and "Popover on Right"
  6. Notice both overflow the body when viewport is sufficiently narrow

456

What is the expected behavior?

Expected behavior is for popovers to not overflow their container (like in Bootstrap 4.5.1).

What went wrong?

It seems like there's been some change in the inline styles that are applied by Popper where we no longer perform: transform: translate3d(x, y, z) and instead use: transform: translate(x, y).

123

Any other comments?

Maybe this change from 10 months ago had something to do with it.

Assignee
Assign to
Time tracking