Opened 12 years ago

Closed 12 years ago

#5541 closed defect (fixed)

dropdown of combobox appears in wrong position when used inside bordercontainer

Reported by: liucougar Owned by: bill
Priority: high Milestone:
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

open dojox/layout/tests/test_BorderContainer.html, click the combobox located in the second bordercontainer on the page

the dropdown appears to the left of the combobox

Change History (6)

comment:1 Changed 12 years ago by liucougar

and the dropdown covers the combobox too (rather than under or above it)

comment:2 Changed 12 years ago by Adam Peller

Owner: changed from Adam Peller to bill

Bill -- any idea why the placement is wrong here?

comment:3 Changed 12 years ago by bill

I assume it's a bug is dojo._abs() (in html.js) but don't have any specifics. Sounds like something we need to fix though before can go production with BorderContainer?.

comment:4 Changed 12 years ago by Adam Peller

nice try, bill. it happens with dijit's layoutcontainer, too :-P

comment:5 Changed 12 years ago by Adam Peller

more detail -- you can see a slight placement problem in the existing LayoutContainer?.html test (combobox in 3rd instance) but putting a thick border on any of the widgets will make the problem show up (e.g. 30px solid black)

comment:6 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [12079]) Fix dojo.coords() on FF to account for borders (rather than returning the content box). Fixes #3222, #3676, #5541. !strict

Note: See TracTickets for help on using tickets.