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 a55baba commit a3179a6Copy full SHA for a3179a6
packages/components/src/components/Select/index.tsx
@@ -248,7 +248,7 @@ export function SelectContainer({
248
else el.style.top = `${comboboxY + height + 10 + y}px`
249
250
if (isOverflowRight)
251
- el.style.left = `${Math.max(comboboxX - el.offsetWidth + combobox.offsetWidth + x, 0)}px`
+ el.style.left = `${Math.max(comboboxX - el.offsetWidth + combobox.offsetWidth + x, x)}px`
252
else el.style.left = `${comboboxX + x}px`
253
}
254
0 commit comments