This repository has been archived by the owner on May 29, 2019. It is now read-only.
uib-modal Trap focus doesn't work when keyboard: false option is provided #4990
Labels
Milestone
This is caused by this line https://github.com/angular-ui/bootstrap/blob/master/src/modal/modal.js#L357
Most likely that check (
modal.value.keyboard
) should be inside thecase 27:
(escape key) and not surrounding the whole switch that also handles trap focus.The text was updated successfully, but these errors were encountered: