Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337765

Summary: [DateTime] DROP_DOWN drops down below browser window
Product: [RT] RAP Reporter: Chris Fairhall <chris>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ruediger.herrmann, tbuschto
Version: unspecified   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screen shot showing issue none

Description Chris Fairhall CLA 2011-02-21 15:09:33 EST
Build Identifier: 20100617-1415

When a DateTime with the DROP_DOWN style is near the bottom of the browser window when the user clicks the drop down button, the calendar shown will always drop DOWN - even if it can't fit in the browser window make it impossible to select certian dates if the control is too close to the bottom of the browser.

Is it possible to have the calendar drop "up" if dropping down would not fit in the display bounds?

Reproducible: Always

Steps to Reproduce:
Place a DateTime control with the DROP_DOWN style in a shell.
Size the browser window so the DateTime is near the bottom.
Comment 1 Chris Fairhall CLA 2011-02-21 15:10:21 EST
Created attachment 189441 [details]
screen shot showing issue
Comment 2 Chris Fairhall CLA 2011-02-21 15:12:12 EST
(In reply to comment #1)
> Created attachment 189441 [details]
> screen shot showing issue

This was RAP 1.4M5, the little button to the right is my work around, a button that opens a shell with a calendar inside.
Comment 3 RĂ¼diger Herrmann CLA 2011-02-24 13:21:08 EST
Changed severity to "normal" as I consider this a bug rather than a missing feature.
Comment 4 Tim Buschtoens CLA 2011-03-21 11:19:11 EDT
Fixed in CVS HEAD.

Changed _setCalendarLocation in DateTimeDate.js.