Opened 13 years ago
Closed 11 years ago
#6263 closed bug (invalid)
Datepicker is opened in wrong position in IE6 when body has "position:fixed" in style
Reported by: | maxbarbul | Owned by: | maxbarbul |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.5 |
Keywords: | ie6 | Cc: | |
Blocked by: | Blocking: |
Description
In attached example HTML you can see the demo of datepicker from UI site. Only I changed some links and set style="position: fixed" for BODY element (as we use in our app).
In this case datepicker appears in wrong position. Without position:fixed it's OK.
I found place in datepicker code where position:fixed is applied to widget container of datepicker. So I changed the condition to not meet BODY and HTML elements in search of parents (see attached patch).
Attachments (3)
Change History (6)
Changed 13 years ago by
Attachment: | datepicker.example.html added |
---|
Changed 13 years ago by
Attachment: | jquery.ui.datepicker.patch.txt added |
---|
This is the patch that fixes problem (for me it's OK)
comment:1 Changed 11 years ago by
Milestone: | TBD → 1.11.0 |
---|
comment:2 Changed 11 years ago by
Owner: | set to maxbarbul |
---|---|
Status: | new → pending |
Hi, and thanks for contributing! We're going to be phasing out IE6 support eventually, but I'd like to know what the use case for putting position: fixed on the body element is?
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
This is example where you can see the problem