This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was 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
Closed
Description
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 the case 27:
(escape key) and not surrounding the whole switch that also handles trap focus.