Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

I've been using a HeatMap with axis maxLabelLength and enableTrim. I found that when I hovered over a trimmed label a vertical scroll bar would appear in the body element of my app while the tooltip was being shown.

The hidden heatmapmeasuretext element is the problem. Although it has "position: absolute" there's a bug in the measureText code whereby it sets htmlObject.style.top to "-100" (with no unit). A unit is always required except for a length of "0" and so the browser is leaving the top unset and so the element ends up being positioned vertically after any other body children (and can trigger scrollbar).

The bug fix is to set htmlObject.style.top to "-100px" instead of "-100".

measuretexttopunset.jpg