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
  • #16502
Closed
Open
Issue created May 18, 2015 by Administrator@rootContributor

Modal scrollbar handling problem when implementing stacked modals

Created by: cervengoc

Stacked modals can be easily implemented with a few lines of custom code for z-indexes and so (as mentioned in the docs).

However, there is a usability issue in the core code. Consider the following:

  1. Body is overflowing vertically.
  2. A first modal is shown, so scrollbar disappears, and some padding is applied to the body.
  3. A second modal is shown, and paddig is applied again, for no reason.

This could be easily fixed if there was a piece of code and maybe a global helper variable to check if a modal is already open or something like that.

Assignee
Assign to
Time tracking