You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rendered as a portal element menuPosition="overflowBoundaryElement" and display area is small, we observe jumpy behavior when opening datapicker by clicking on the calendar icon.
We believe it is caused by
Thanks for opening your first issue! 👋
If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.
When rendered as a portal element
menuPosition="overflowBoundaryElement"
and display area is small, we observe jumpy behavior when opening datapicker by clicking on the calendar icon.We believe it is caused by
design-system-react/components/date-picker/date-picker.jsx
Line 557 in 030b978
when it is trying to focus on the dateCell, browser unnecessarily scrolls and results in the jumpy behavior.
Our proposed fix is setting
preventScroll
totrue
,this.selectedDateCell.focus({preventScroll: true});
The text was updated successfully, but these errors were encountered: