Defect #3405
closedCalendar control missplacement with IE7
80%
Description
Not sure if someone else already logged this. Searches didn't come up with anything. I'm using IE 7. When i click on the calendar popup
While the scroll bar is at the bottom of the screen, the calendar popup appears in the wrong spot. It's almost as if the placement does not account for vertical scrollbar shift.
Files
Updated by Jean-Philippe Lang over 15 years ago
- Subject changed from Calendar control missplacement to Calendar control missplacement with IE7
Updated by Chris Martin over 15 years ago
I've upgraded by browser to firefox, it's working fine there :D
Updated by Arnis Juraga over 15 years ago
- % Done changed from 0 to 80
We have fixed it in local instance.
Modifyed file:
public\javascripts\calendar.js
Change in "function fixPosition(box)":
Replace:
br.y += document.body.scrollTop; br.x += document.body.scrollLeft;
with:
scrollTop = (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); scrollLeft = (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); br.y += scrollTop; br.x += scrollLeft;
Can someone upload this change?
Updated by Jean-Philippe Lang about 15 years ago
- Category changed from Issues to UI
Updated by Daniel Felix almost 12 years ago
- Status changed from New to Needs feedback
This works fine for me in Redmine 2.2.1 with IE9, FF 17 and Chrome 23.
I think this is resolved due to some jQuery UI changes. This Bug seems to be resolved. Anyone can test this with older browser versions?
Updated by Arnis Juraga almost 12 years ago
Looks fixed. I have not noticed problem on latest Redmine versions anymore.
Updated by Chris Martin almost 12 years ago
I'll see if i can test this out tomorrow and see how it behaves in IE 7
Updated by Daniel Felix almost 12 years ago
Chris Martin wrote:
I'll see if i can test this out tomorrow and see how it behaves in IE 7
This would be great. I currently haven't any IE 7 to test this.
Updated by Chris Martin almost 12 years ago
Tested with 2.1.2 and it's working great.
Updated by Daniel Felix almost 12 years ago
- Status changed from Needs feedback to Closed
- Resolution set to Fixed
Great. Thanks for your test Chris!
This should be fixed.