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.
offsetTop
1 parent fd62c5e commit bb1af17Copy full SHA for bb1af17
packages/autocomplete-js/src/getPanelPositionStyle.ts
@@ -15,7 +15,7 @@ export function getPanelPositionStyle({
15
environment = window,
16
}: GetPanelPositionStyleParams) {
17
const containerRect = container.getBoundingClientRect();
18
- const top = containerRect.top + containerRect.height;
+ const top = container.offsetTop + containerRect.height;
19
20
switch (panelPlacement) {
21
case 'start': {
0 commit comments