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
  • #7521
Closed
Open
Issue created Apr 09, 2013 by Administrator@rootContributor

Modal dismiss issue when the link that opened the popup is invisible on IE8

Created by: flegall

When I close the modal dialog on IE8, I have to do it twice when the link that opened the modal is made invisible (visibility: hidden in CSS when not hover).

This is caused by the call to focus() on the link that opened the popup. This calls fails if the link is made invisible. The exact IE error is "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus". The error is not caught by JQuery: http://bugs.jquery.com/ticket/11054.

The bug can be reproduced here : http://flegall.github.io/ie8-modal-bug/ (Couldn't make jsfiddle work on IE8 :) ...)

Assignee
Assign to
Time tracking