Bug Tracker

Modify

Ticket #2269 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

datepicker in scrolled div's (overflow=auto)

Reported by: deg Owned by: remysharp
Priority: major Milestone: 1.2.3
Component: ui Version: 1.2.2
Keywords: Cc:
Blocking: Blocked by:

Description

The datepicker doesn't position itself correctly when it is inside a div which has overflow and is scrolled away from its top position. It seems to be positioning itself where it would be if the div wasn't scrolled.

The datepicker & jquery i used are from the download at:  http://marcgrabanski.com/code/ui-datepicker/core/core.ui.datepicker.zip

I attached a testcase showing the behavoir.

thanks, Deg

Attachments

overflow_test.zip Download (43.9 KB) - added by deg 6 years ago.

Change History

Changed 6 years ago by deg

comment:1 Changed 6 years ago by davidserduke

  • Owner set to paul
  • Component changed from core to ui

comment:2 Changed 6 years ago by paul

  • Owner changed from paul to iMarc

comment:3 Changed 6 years ago by rworth

  • Owner changed from iMarc to remysharp

comment:4 Changed 6 years ago by remysharp

Fixed - now relies on dimensions.js for position of source element

comment:5 Changed 6 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.