Skip to content

Commit

Permalink
Fixed #871 - OverlayPanel's icon is in the wrong position after windo…
Browse files Browse the repository at this point in the history
…w is resized
  • Loading branch information
mertsincan committed Apr 26, 2019
1 parent c95896a commit cd50965
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/overlaypanel/OverlayPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class OverlayPanel extends Component {
hide() {
if (this.isVisible()) {
this.container.style.display = 'none';
DomHandler.removeClass(this.container, 'p-overlaypanel-flipped');
this.unbindDocumentClickListener();

if (this.props.onHide) {
Expand Down

0 comments on commit cd50965

Please sign in to comment.