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 42d5812 commit 2ad3e2fCopy full SHA for 2ad3e2f
src/index.ts
@@ -79,10 +79,10 @@ function position(options: IOptions): PositionData {
79
},
80
}
81
: options.anchor.getBoundingClientRect(),
82
- originalDisplay = options.target.style.display,
83
- _targetRect = options.target.getBoundingClientRect();
+ originalDisplay = options.target.style.display;
84
85
options.target.style.display = 'block';
+ const _targetRect = options.target.getBoundingClientRect();
86
options.target.style.display = originalDisplay;
87
88
// Adjust to scrollable regions
0 commit comments