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 1dd9709 commit 2bb0635Copy full SHA for 2bb0635
src/PickerInput/Popup/index.tsx
@@ -112,9 +112,8 @@ export default function Popup<DateType extends object = any>(props: PopupProps<D
112
113
// Arrow Offset
114
const wrapperRect = wrapperRef.current.getBoundingClientRect();
115
- const nextArrowOffset = rtl
116
- ? activeInputRight - arrowWidth
117
- : activeInputLeft - wrapperRect.left;
+ const nextArrowOffset =
+ (rtl ? activeInputRight - arrowWidth : activeInputLeft) - wrapperRect.left;
118
setArrowOffset(nextArrowOffset);
119
120
// Container Offset
0 commit comments