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

Commit 88e0c8f

Browse files
ErinCoughlantinayuangao
authored andcommitted
[MdPanel] Fix offscreen positioning bug (#10474)
1 parent e3d7fbb commit 88e0c8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/panel/panel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,7 @@ MdPanelRef.prototype._updatePosition = function(init) {
19901990

19911991
// Hide the panel now that position is known.
19921992
if (init) {
1993+
this.panelEl.removeClass('_md-panel-offscreen');
19931994
this.panelContainer.addClass(MD_PANEL_HIDDEN);
19941995
}
19951996

0 commit comments

Comments
 (0)