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.
- Add auto-complete control in section.
- Run case and search in auto-complete.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.