Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Defer rendering nonvisible suggestions until the user scrolls or selects #904
Description of the Change
This PR defers the rendering of additional suggestions until the user either scrolls the suggestion box or selects a suggestion outside of those initially visible.
Previously, we deferred the rendering until an idle period.
By deferring until the user requests the additional suggestions (basically never) we save ourselves a reflow.
This is slightly more difficult to test since we need to trigger a scroll event to get the rest of the suggestions to render.