Opened 3 months ago

#15311 new bug

Datepicker calendar positioning is based on scroll position and not window position when inside a fixed parent.

Reported by: Nichole Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

Issue was found on Lenovo ThinkPads on Windows 10 using Chrome Version 68.0.3440.106

On touchscreen laptops, when the datepicker is triggered, the positioning of the calendar is based on scroll position rather than window position of the element.

This pen illustrates the bug: https://codepen.io/iamfiction/pen/NLRJNL

If you cannot replicate the bug, please view the video linked below. It uses the pen provided as an example of this bug. Note the positioning in the dev tools.

https://drive.google.com/file/d/17Es8woSxVG_-sx_kwGGXxB7Zc9EX1KMv/

This bug seems related to the following issues:

https://bugs.jqueryui.com/ticket/15250

https://bugs.jqueryui.com/ticket/14980

Change History (0)

Note: See TracTickets for help on using tickets.