Incorrect DatePicker FloatingCalendar positioning with React 19 #3969
Labels
Package: react-component-library
Package/code type
Size: Medium
Assessed as medium task
Type: Bug
Inconsistencies or issues which have caused a problem for users or implementors
Steps to reproduce
In
packages/react-component-library
, runpnpm add react@latest react-dom@latest
Start Storybook
Go to http://localhost:6006/iframe.html?globals=&args=&id=components-date-picker--default&viewMode=story
Click the DatePicker calendar button.
Observe that the calendar appears in the wrong place.
Additional details
Next.js 15 requires the use of React 19 when using the app router.
The inline styles applied by react-popper are incorrect in this case. Simply replacing
react-popper
with@floating-ui/react
didn't seem to fix the problem. However, the latter has a different API and a lot more functionality so switching to it may still be needed to fix the problem.Screenshot
The text was updated successfully, but these errors were encountered: