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

Don't change the value for `altBoundary` option

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge rs/tooltip-flip-modifier into main Apr 19, 2021
  • Overview 3
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: rohit2sharma95

Closes #33463 (closed) and Closes #33579 (closed)

Since the bootstrap is not changing the default value of the elementContext option, changing the value of the altBoundary option is not needed for any modifier in real. By default, the value for elementContext is 'popper' which means the boundary context will be checked for the popper element by default. Setting the altBoundary to true in the flip modifier will change this behavior and then boundary context will be checked for reference element (means button element).

Doing so will require setting the value for the boundary option manually. That is not needed in real (at least for the tooltips when these are appended to the body).

See the discussion here: https://github.com/twbs/bootstrap/issues/33463#issuecomment-822352640

/CC @XhmikosR to add this in the next release if seems good.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rs/tooltip-flip-modifier