#11779 closed defect (fixed)
Claro: arrows in dijit.TooltipDialog background
Reported by: | samlin99 | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5.1 |
Component: | Dijit | Version: | 1.5 |
Keywords: | Cc: | Katie Vance | |
Blocked By: | Blocking: |
Description (last modified by )
After execute following code, you will see unknown characters display in TooltipDialog?. Please check attached pic for more reference.
Sample Code:
var dialog = new dijit.TooltipDialog({ content: 'Test' }); for(x=0;x<70;x++) { dojo.create("div", {innerHTML:"Test"}, dialog.containerNode); } var button = new dijit.form.DropDownButton({ label: "show tooltip dialog", dropDown: dialog }); dojo.byId("dropdownButtonContainer").appendChild(button.domNode);
Attachments (2)
Change History (7)
Changed 10 years ago by
Attachment: | ToolTip.jpg added |
---|
comment:1 Changed 10 years ago by
Component: | General → Dijit |
---|---|
Description: | modified (diff) |
Milestone: | tbd → 1.6 |
Owner: | anonymous deleted |
Summary: | Unknown characters display for dijit.TooltipDialog → Claro: arrows in dijit.TooltipDialog background |
For some reason there's this CSS rule in claro:
.claro .dijitTooltipContainer { ... background-image:url("images/tooltip.png"); background-position:-575px 100%; background-repeat:repeat-x; ... }
That tooltip.png has the arrows in it.
comment:2 Changed 10 years ago by
Turns out tooltip.png is combining the gradient background at the bottom of a tooltip (see below) with the connector arrows from the tooltip pointing to the "around node":
As a workaround you could do this after including claro:
<style> .claro .dijitTooltipContainer { background-image: none; } </style>
Changed 10 years ago by
Attachment: | tooltipGradient.png added |
---|
comment:3 Changed 10 years ago by
Cc: | Katie Vance added |
---|
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 10 years ago by
Milestone: | 1.6 → 1.5.1 |
---|
Note: See
TracTickets for help on using
tickets.
Unknown characters display in TooltipDialog?