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
  • #13816
Closed
Open
Issue created Jun 13, 2014 by Administrator@rootContributor

Modal dialog closes when dragging and releasing mouse button outside dialog

Created by: tdesmet

When clicking and holding the left mouse button inside a modal dialog and then dragging the mouse outside the dialog and releasing the mouse button results in the modal dialog closing.

I have a use case where you can crop an image inside a dialog and when the users drags his mouse to far and releases the mouse button the dialog closes, causing the user to restart the process.

I know I can make the backdrop static so it doesn't close when clicking on it, but this would be a last resort.

I think that the backdrop should only close if the mousedown event happened on the backdrop and not on the dialog.

Assignee
Assign to
Time tracking