Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(panel): _md-panel-offscreen not removed from innerWrapper
Browse files Browse the repository at this point in the history
- this resulted in animated in panels not displaying on screen

Fixes #11946
  • Loading branch information
Splaktar committed Jun 23, 2020
1 parent 0f9d111 commit e81e2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/panel/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,7 @@ MdPanelRef.prototype._updatePosition = function(init) {
// Hide the panel now that position is known.
if (init) {
this.panelEl.removeClass('_md-panel-offscreen');
this.innerWrapper.removeClass('_md-panel-offscreen');
this.panelContainer.addClass(MD_PANEL_HIDDEN);
}

Expand Down

0 comments on commit e81e2e3

Please sign in to comment.