We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd9f25 commit 4624e11Copy full SHA for 4624e11
src/Popup.js
@@ -83,7 +83,7 @@ class Popup extends Component {
83
const height = $ele.offsetHeight;
84
const width = $ele.offsetWidth;
85
86
- if (targetHeight !== height || targetWidth !== width || !stretchChecked) {
+ if ((targetHeight !== height || targetWidth !== width) && !stretchChecked) {
87
this.setState({
88
stretchChecked: true,
89
targetHeight: height,
0 commit comments