Opened 10 years ago
Closed 9 years ago
#12418 closed enhancement (fixed)
TooltipDialog: allow center arrow and the dropdown itself with anchor node
Reported by: | Chris Mitchell | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dijit | Version: | 1.6.0rc1 |
Keywords: | 1.7-mobile | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
Popup overlay code should to be able to position callout arrow to center of target node. In order to closely mimic native UI LaF on mobile devices, popup dialog overlays on tablets/mobile devices will need to be styled so that the callout arrow is pointing at the center of the node the dialog is attached to. Currently digit popup only supports pointing to left/right or top/bottom of target node.
Attachments (1)
Change History (11)
comment:1 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
comment:2 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Summary: | Popup overlay code needs to be able to position callout arrow to center of target node → Popup overlay code should to be able to position callout arrow to center of target node |
comment:3 Changed 10 years ago by
Owner: | changed from bill to Dustin Machi |
---|---|
Summary: | Popup overlay code should to be able to position callout arrow to center of target node → TooltipDialog: allow center arrow and the dropdown itself with anchor node |
comment:4 Changed 10 years ago by
Owner: | changed from Dustin Machi to Douglas Hays |
---|---|
Status: | new → assigned |
comment:5 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 10 years ago by
comment:7 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This patch is creating a regression in charting tooltip. Indeed showTooltip used to accepted (in an undocumented manner) a Rectangle (x, y, width, height) instead of a DomNode? for aroundNode parameter. This is not the case anymore cause dojo.position is directly called on the aroundNode. I would suggest even if it was not documented to still support Rectangle because this is very useful for graphics applications (based on Gfx/canvas for example) that do not necessarily have a DomNode? for a drawing.
See also http://article.gmane.org/gmane.comp.web.dojo.devel/14498/match=
comment:8 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:9 Changed 9 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
After [24439] we are getting a failure on IE6 (at least on my machine) on dijit/tests/_base/place.html:
_AssertFailure: [object Error]: assertEqual() failed: expected 1079 but got 1078 with hint: right aligned with around node
Dustin said he would work on this so assigning to him for now. Centering the arrow is specific to the Tooltip code, centering the drop down with the anchor node is in the popup.js code.