#14025 closed defect (fixed)
dojox.html.metrics.getScrollbar() returns default values (w:16, h:16)
Reported by: | dg | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dojox | Version: | 1.7.0b1 |
Keywords: | Cc: | chrism1, cjolif | |
Blocked By: | Blocking: |
Description
dojox.html.metrics.getScrollbar() returns default values (w:16, h:16).[[BR]]
It seems that the computed result (usually w:17 in FF7/win) is overridden by default value. Maybe related to AMD?
See attached reproducing sample.
Attachments (2)
Change History (9)
Changed 8 years ago by
Attachment: | ScrollbarMetricsIssues.html added |
---|
comment:1 Changed 8 years ago by
Cc: | chrism1 added |
---|---|
Owner: | changed from Adam Peller to Bryan Forbes |
comment:2 Changed 8 years ago by
Cc: | cjolif added |
---|
comment:3 Changed 8 years ago by
Version: | → 1.7.0b1 |
---|
comment:4 Changed 8 years ago by
The problem came from a change from dojo.addOnLoad to UnloadUtil.addOn_Un_load during AMD transition. The patch is fixing this. If nobody objects and dg confirms it solves his issue I can commit it.
comment:5 Changed 8 years ago by
Hi, I confirm that the patch proposed by cjolif is indeed fixing the issue. Thanks,
comment:7 Changed 8 years ago by
Milestone: | tbd → 1.7 |
---|
Note: See
TracTickets for help on using
tickets.
This is indeed a regression introduced by AMD. I'm preparing a patch.