#3232 closed bug (fixed)
Datepicker Position Problem in IE 6/7
Reported by: | Owned by: | grabanski | |
---|---|---|---|
Priority: | major | Milestone: | 1.7 |
Component: | ui.datepicker | Version: | 1.6rc2 |
Keywords: | ui datepicker position | Cc: | |
Blocked by: | Blocking: |
Description
I had a Problem using the ui.datepicker plugin with IE6/7.
The Datepicker was shown in the wrong Position.
The browser Width/Height in _checkOffset was 0 for IE.
I tried the Width Detection from: http://www.mail-archive.com/[email protected]/msg13648.html which gives correct Values.
Attachments (1)
Change History (9)
Changed 15 years ago by
Attachment: | ui.datepicker.js.patch added |
---|
comment:1 Changed 15 years ago by
I cornered the problem to non strict HTML Pages. strict pages are working fine.
comment:3 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Version: | 1.6b → 1.6rc2 |
According to #3603, this issue is still open.
comment:5 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
If you have an input at the bottom/right/bottom-right of the viewport and you click on it, the datepicker opens below and to the right of it, outside of view. r1504 is a regression. Reopening.
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Regression fixed in [1509]
comment:7 follow-up: 8 Changed 10 years ago by
In this patch why window.innerWidth is the first choice? It includes the scrollbar width, at least on Chrome 27.0 if there's a scrollbar and the input is at the right then calendar opens behind the browser scrollbar. Cannot show it in jsfiddle because it shows already scrollbar in the result box.
Why not using document.documentElement.clientWidth as the first option and then innerWidth and then clientWidth? Am I missing something?
comment:8 Changed 10 years ago by
Replying to hindpere:
In this patch why window.innerWidth is the first choice? It includes the scrollbar width, at least on Chrome 27.0 if there's a scrollbar and the input is at the right then calendar opens behind the browser scrollbar. Cannot show it in jsfiddle because it shows already scrollbar in the result box.
Why not using document.documentElement.clientWidth as the first option and then innerWidth and then clientWidth? Am I missing something?
Since this ticket has not been touched in 4 years I don't think anyone would know. If you can still recreate this problem in a test case using the most recent version you can create a new ticket.
That being said we're switching to use the position utility in the datepicker rewrite, therefore this is unlikely to be changed until the rewrite lands.
Works with this changes