Repository navigation
fix(drawer): drawer container not reacting to drawer removal - #7060
Conversation
e5c6ce2 to
faabcd1
Compare
| @Output('positionChanged') onPositionChanged = new EventEmitter<void>(); | ||
|
|
||
| /** Event emitted when the drawer's mode changes. */ | ||
| @Output('modeChanged') onModeChanged = new EventEmitter<void>(); |
There was a problem hiding this comment.
since this is really just for internal coordination, can we make it a Subject with no @Output() and _ name?
There was a problem hiding this comment.
Sure, I did this to keep it consistent with the positionChanged.
faabcd1 to
d816484
Compare
|
Addressed the feedback @mmalerba. |
|
@mmalerba I just tried throwing in the unit tests from this PR into master. It looks like your changes fixed one of the issues, but they still don't handle the case where a drawer is destroyed so I'd say it's worth keeping this PR around. |
d816484 to
db61f29
Compare
|
Rebased and scoped my changes only to the |
| if (!this._drawers.length || | ||
| this._isDrawerOpen(this._start) || | ||
| this._isDrawerOpen(this._end) | ||
| ) { |
There was a problem hiding this comment.
style nit: move to end of previous line
db61f29 to
63b3191
Compare
Fixes the drawer container not reacting if one of the drawers is destroyed. Fixes angular#6271.
63b3191 to
8bd26dc
Compare
|
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. |
Fixes the drawer container not reacting if one of the drawers is destroyed.
Fixes #6271.