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 55854d6 commit 48ca002Copy full SHA for 48ca002
src/RangePicker.tsx
@@ -896,7 +896,10 @@ function InnerRangePicker<DateType>(props: RangePickerProps<DateType>) {
896
if (
897
panelDivRef.current.offsetWidth &&
898
arrowRef.current.offsetWidth &&
899
- arrowLeft > panelDivRef.current.offsetWidth - arrowRef.current.offsetWidth
+ arrowLeft >
900
+ panelDivRef.current.offsetWidth -
901
+ arrowRef.current.offsetWidth -
902
+ parseInt(arrowRef.current.style?.marginLeft || '0')
903
) {
904
panelLeft = arrowLeft;
905
}
0 commit comments