-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.3, 3.8
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67417-master -
Step to reproduce:
- Go to any page that having help icon (e.g: Create course page).
- Click on help icon, help dialog will be opened.
- Close dialog using "Escape" key.
- Click on the same help icon again, now we cannot open the help dialog.
Note: It's still working if we close the dialog by using tab key or click anywhere on the page.
Update:
Change the line theme/boost/amd/src/loader.js:56
From
jQuery('body').on(customEvents.events.escape, '[data-toggle=popover]', function() { |
jQuery(this).popover('hide'); |
});
|
To
jQuery('body').on(customEvents.events.escape, '[data-toggle=popover]', function() { |
jQuery(this).trigger('blur'); |
});
|
Seem to fix the issue, I'm checking if it causes any side effect.