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

AutoComplete causing issues on UI screen sporadically

SA-38117

Summary



When the user presses the down arrow key on a particular auto complete field, this causes the search results to appear at the bottom of the screen.


Error Messages



Not Applicable


Steps to Reproduce



Note: This is a sporadic issue.
  1. Add auto-complete control in section.
  2. Run case and search in auto-complete.
  3. Observe pop-up comes up, along with body scroll it moves.


Root Cause



A defect or configuration issue in the operating environment

The user end two vertical scrollbars are coming.With outer scroll issue is not observed but with inner scroll, auto-complete popup moves.
In HTML tag tablet styleClass is getting added.Removing this class manually resolves the issue.


In generated HTML markup, tablet style class is appended to HTML tag. This class will be added if in user-agent string(as part of HTTP request) "Touch" is coming . "pyIsTablet" when rule checks for this value and if turns out to be true will add "Tablet" style in HTML.

The user end userAgent string has "Touch" string(in touchable device for windows 8 and later this string gets added in request header : User-agent string(Windows)).


Resolution


Perform the following local-change:

Add condition as pxRequestor.pxDeviceType != "Desktop" in pyIsTablet when rule and modify logic string accordingly.

Published June 3, 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