Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCI-Agency/anet#767: Optimise autosuggest rendering #773

Merged
merged 1 commit into from
Aug 1, 2018

Conversation

gjvoosten
Copy link
Collaborator

Remove some unused state, and optimise the rendering of suggestions a bit.
Attempts to address dropped keystrokes under IE11 as reported in #767

@@ -184,7 +187,7 @@ export default class Autocomplete extends Component {
+ 'list { ' + this.props.fields + '}'
+ '}'
let variableDef = '($query: ' + resourceName + 'SearchQuery)'
let queryVars = {text: value.value + "*", pageSize: 25}
let queryVars = {text: value.value + "*", pageSize: 250}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity - why pageSize 250 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mistakenly committed (used for experimenting with long lists of suggestions); will fix.

Remove some unused state, and optimise the rendering of suggestions a bit.
Attempts to address dropped keystrokes under IE11 as reported in #767
@VassilIordanov VassilIordanov merged commit 87fd2db into candidate Aug 1, 2018
@VassilIordanov VassilIordanov deleted the GH-767 branch August 1, 2018 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants