-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(sidenav): make focus-trap
occupy full height of sidenav
#2145
Conversation
@@ -108,8 +108,15 @@ md-sidenav { | |||
z-index: 3; | |||
min-width: 5%; | |||
|
|||
// TODO(kara): revisit scrolling behavior for sidenavs | |||
overflow-y: auto; | |||
> focus-trap { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md-sidenav-focus-trap
etc.
comments addressed |
@@ -1,3 +1,3 @@ | |||
<div *ngIf="!disabled" tabindex="0" (focus)="focusLastTabbableElement()"></div> | |||
<div #trappedContent><ng-content></ng-content></div> | |||
<div #trappedContent class="focus-trap-content"><ng-content></ng-content></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also prefix on .focus-trap-content
. This is as good a time as any to introduce the cdk-
prefix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we wait and do that all at once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any reason not to start now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.