View Full Version : extjs4.1.1:tooltip is having issue in chrome browser

18 Dec 2012, 4:29 AM
I have a tooltip function which shows an image with it's filename in it's tip content.
The tooltip create function is as follows,

this.imageTip = Ext.create('Ext.tip.ToolTip', {
target : this.el,
maxWidth : 400,
html : '<img src="http://localhost/images/img1.jpg?dc=1355817306373"/><br/><b>File Name</b>: img1.jpg',
listeners : {
beforeshow : function(component, options) {
component.update('<img src="http://localhost/images/img1.jpg?dc=1355817306373"/><br/><b>File Name</b>: img1.jpg');

scope : this

The Tooltip is having issue with chrome browser.Sometimes it shows an emptybox,Sometimes it returns a partial view of the image and in other cases it works perfectly fine.The issue exists only in chrome.Someone please help me to fix the issue

Thanks in advance :)

20 Dec 2012, 7:09 AM
If you gave the tooltip a height would that fix the issue?