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

[4.4.1] Modal doesn't close when escape key is pressed and backdrop option like 'static'

Created by: mendozagioo

This issue is due to a question in Slack by: Asif Qureshi.

Tested on:

  • MacOS 10.15.2
  • Firefox 72

Description: A new documentation of v4.4.1 describe that modals doesn't close when is used backdrop option in 'static', that is correct, but only should apply when the keyboard option is false, and that is not happens, so, if you want to use keyboard option in false or true, the modal doesn't close. The documentation also describes:

Name Type Default Description
keyboard boolean true Closes the modal when escape key is pressed

With version 4.3.1 this didn't happen

Test case: v4.4.1: https://codepen.io/asif8q/pen/zYxRobw v4.3.1: https://codepen.io/asif8q/pen/LYEQxYm

Assignee
Assign to
Time tracking