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

Auto-Complete control display in Chrome browser

SA-34145

Summary



User created a section with an auto-complete control, configured clipboard as data source.

Functionality was working properly on both Internet Explorer and Chrome browser.

In Internet Explorer, display was correct, but In Chrome, it will pop up and the values are displayed in the full screen(overlapping the section).


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a section.
  2. Include auto-complete control, configure it.
  3. Try with Chrome browser.


Root Cause



Reported issue points to the function, pega.cl.isTouchable, that determines if it is a touch device or not.

The determination is made using the following function in pzpega_ui_env.js


(function () {
var isTouch = !!(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch);
pega.cl.isTouchAble = function(){
return isTouch;
};
})();


By default, 'isTouchAble' values is set as true and application is rendered in the mobile mode causing the reported issue.

Resolution



Perform the following local-change:

Override the function, 'isTouchAble' in userworkform to always return false, this resolves the issue.


<script>
pega.cl.isTouchAble = function(){
return false;
};
</script>


Suggest Edit

Published March 10, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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