We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b29e0c commit 710d4a2Copy full SHA for 710d4a2
src/PickerInput/Popup/index.tsx
@@ -118,7 +118,7 @@ export default function Popup<DateType extends object = any>(props: PopupProps<D
118
setArrowOffset(nextArrowOffset);
119
120
// Container Offset
121
- if (containerWidth < selectorWidth) {
+ if (containerWidth && containerWidth < selectorWidth) {
122
const offset = rtl
123
? wrapperRect.right - (activeInputRight - arrowWidth + containerWidth)
124
: activeInputLeft + arrowWidth - wrapperRect.left - containerWidth;
0 commit comments