Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(modal): keep focus trap between stack modals #3422

Merged
merged 1 commit into from Oct 25, 2019

Conversation

fbasso
Copy link
Member

@fbasso fbasso commented Oct 23, 2019

fix #3392

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @fbasso!

Left a couple of comments.

Cheers,
Max

src/modal/modal-window.ts Outdated Show resolved Hide resolved
e2e-app/src/app/tools.po.ts Outdated Show resolved Hide resolved

openModal(content: TemplateRef<any>) { this.modalService.open(content); }

search = (text$: Observable<string>) => text$.pipe(map(() => ['one', 'two', 'three']));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove unused functions

e2e-app/src/app/modal/stack/modal-stack.component.ts Outdated Show resolved Hide resolved
Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@maxokorokov maxokorokov merged commit 5610abe into ng-bootstrap:master Oct 25, 2019
@fbasso fbasso deleted the modal-stack branch October 31, 2019 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stacked modal lost keyboard trap navigation
3 participants