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

data-bs-toggle not hiding the modal after v5 update

Created by: demiavaliani

Before updating to v5, data-toggle="" was working perfectly. It was actually toggling the visibility (showing / hiding). After update, data-bs-toggle="" will only show, but not hide the modal.

My HTML:

<button type="button" data-bs-toggle="modal" data-bs-target="#navigationModal"></button>

<div class="modal" id="navigationModal">
  <div class="modal-dialog modal-fullscreen">
    <div class="modal-content">
      <div class="modal-body">
      </div>
    </div>
  </div>
</div>
  • Operating system: Windows 10 Enterprise
  • Browser: Chrome Beta v88.0.4324.50 and Chrome v87.0.4280.88
  • Bootstrap v5.0.0-beta1
  • reduced test case - data-bs-toggle does not work in v5.0.0-beta1
  • reduced test case - data-toggle still works in v4.5.3

https://user-images.githubusercontent.com/33201116/103240450-10efcc80-4959-11eb-96cc-bde287e6a8f6.mp4

Assignee
Assign to
Time tracking