AutoComplete causing issues on UI screen sporadically
SummaryWhen 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 MessagesNot 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 CauseA 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)).
Perform the following local-change: Add condition as pxRequestor.pxDeviceType != "Desktop" in pyIsTablet when rule and modify logic string accordingly.
Published May 17, 2017 - Updated June 3, 2017