Support Article
Vertical scroll bar is not getting displayed for Auto Complete
SA-45054
Summary
User has implemented Out-of-the-box (OOTB) autocomplete control and observed that if the autocomplete has many values to be displayed, then vertical scroll bar does not get displayed to see till the end of the list.
Error Messages
Not Applicable
Steps to Reproduce
1. Configure a pxAutoComplete control to show less than 20 rows of data.
2. Resize the portal window to a small size.
3. Use the dropdown to get the AutoComplete options to observe the error.
Root Cause
The pxAutoComplete control uses a progressive grid to display the results.
By default, the progressive grid page value is set to 30.
If the results less than 30, there is scroll bars. One can set the page value using the "Max Results displayed" option in the pxAutoComplete control configuration.
Resolution
Perform the following local-change:
Set "Max Results displayed" to a value less than max results, you will get the scroll bars.
For example, if max results are 30, provide "Max Results displayed" a value less than 30 like 25.
Published November 5, 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.