Skip to content
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
@wawyed

Description

@wawyed

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions