Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337765 - [DateTime] DROP_DOWN drops down below browser window
Summary: [DateTime] DROP_DOWN drops down below browser window
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 15:09 EST by Chris Fairhall CLA
Modified: 2011-03-21 11:19 EDT (History)
2 users (show)

See Also:


Attachments
screen shot showing issue (6.12 KB, image/png)
2011-02-21 15:10 EST, Chris Fairhall CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.