Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Hover over is coming in wrong place

SA-31875

Summary



Hover over on a field is displayed way far from the field it is specified on.

    


Error Messages



Not applicable


Steps to Reproduce



1. Add a decimal type property field in a section.
2. On hover of it, configure Show smart info (add a smart info section accordingly).
3. During runtime, observe that the smart info appears distorted (away from the property field).


Root Cause



An issue in the custom application code or rules, user has created a custom control, and while Out-of-the-box (OOTB) controls work fine, the smart info is not showing up properly on hover over of this custom control.

Resolution

Use the following script:

<script>
$(document).ready(function(){
 
$("#PolicyLimit").on('hover', function(){
   pega.u.smartinfo.targetElememnt = this;
  });
 
$("#UnderlyingLimit").on('hover', function(){
   pega.u.smartinfo.targetElememnt = this;
  });
 
});
</script>

Published January 18, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us