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 84a6c6f commit 2fb8a70Copy full SHA for 2fb8a70
src/RangePicker.tsx
@@ -899,7 +899,7 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
899
arrowLeft >
900
panelDivRef.current.offsetWidth -
901
arrowRef.current.offsetWidth -
902
- parseInt(arrowRef.current.style?.marginLeft || '0')
+ (direction === 'rtl' ? 0 : arrowRef.current.offsetLeft)
903
) {
904
panelLeft = arrowLeft;
905
}
0 commit comments