kswedberg / jquery-cluetip

No longer maintained/supported. — Displays a highly customizable tooltip when the user hovers (default) or clicks (optional) the matched elements.
http://plugins.learningjquery.com/cluetip/
219 stars 92 forks source link

Dynamically resizing a cluetip in IE #9

Open plindelauf opened 14 years ago

plindelauf commented 14 years ago

In my cluetip I have a bit of hidden text that can be shown (JQuery's slideToggle) with a mouse click. In Chrome and Firefox, the box resizes nicely when the hidden text is revealed. In IE 8, however, the cluetip sticks to its original size.

kswedberg commented 14 years ago

Do you have a test case up on the web somewhere that I can take a look at?

plindelauf commented 14 years ago

I have tried to isolate the problem in an example, but unfortunately I cannot reproduce it. So it looks like it is more of a contextual problem; I'm guessing CSS positioning of other DOM elements cause this problem. I'm expecting to have the site with this problem up in a month or so. I'll add another comment with a link as soon as it is up.

For now, the workaround I implemented is to explicitly set the cluetip-outer's height to 100% after the slideDown. The drawback is that it doesn't shrink anymore after a slideUp.