Skip to content

Commit

Permalink
Fix copy-paste mistake in PR#17599
Browse files Browse the repository at this point in the history
  • Loading branch information
eAmin committed Sep 28, 2019
1 parent 11224a1 commit 97f9ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Popper/Popper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Popper = React.forwardRef(function Popper(props, ref) {
const containerWindow = ownerWindow(resolvedAnchorEl);

if (resolvedAnchorEl instanceof containerWindow.Element) {
const box = anchorElement.getBoundingClientRect();
const box = resolvedAnchorEl.getBoundingClientRect();

if (
process.env.NODE_ENV !== 'test' &&
Expand Down

0 comments on commit 97f9ecb

Please sign in to comment.