We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 94514a8 + cef48f6 commit af859e2Copy full SHA for af859e2
lib/ace/autocomplete.js
@@ -352,7 +352,7 @@ var Autocomplete = function() {
352
353
this.showDocTooltip = function(item) {
354
if (!this.tooltipNode) {
355
- this.tooltipNode = dom.createElement("pre");
+ this.tooltipNode = dom.createElement("div");
356
this.tooltipNode.className = "ace_tooltip ace_doc-tooltip";
357
this.tooltipNode.style.margin = 0;
358
this.tooltipNode.style.pointerEvents = "auto";
@@ -381,7 +381,6 @@ var Autocomplete = function() {
381
tooltipNode.style.left = (rect.right + 1) + "px";
382
tooltipNode.style.right = "";
383
}
384
- // tooltipNode.style.height = rect.height + "px";
385
tooltipNode.style.display = "block";
386
};
387
0 commit comments