You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Launching by command-palette:toggle is very slow in Atom-v1.25.0-beta.
Why? render-on-visible #101 feature not working correctly because incorrect {visible} options is passed to elementForItem.
What is happening now on command-palette:toggle is "render initial 10 items" then "immediately render all items" because of incorrect visible state determination in atom-select-list
Command rendered in 2 steps.
step 1 render 10 command, then show mini-editor(its' OK).
step 2 render rest of all items(over 700 if installed vim-mode-plus), which make command-palette's UX really slow.
Step 2 rendering is just unnecessary rendering since its invisible item. But because of BUG it's happening.
It spend long time for visibilityObserver.change related function call.
Which actually rendering all command(over 700 command in my case since I'm vim-mode-plus user).
This is just bug, fixed it in atom/atom-select-list#25.
Description
Launching by
command-palette:toggle
is very slow in Atom-v1.25.0-beta.Why? render-on-visible #101 feature not working correctly because incorrect
{visible}
options is passed toelementForItem
.What is happening now on
command-palette:toggle
is "render initial 10 items" then "immediately render all items" because of incorrect visible state determination in atom-select-listI created PR atom/atom-select-list#25 to fix this.
No change required on command-palette side.
Steps to Reproduce
launch
command-palette:toggle
Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
Atom v1.24.0 have no issue
Atom v1.25.0 and later have issue
The text was updated successfully, but these errors were encountered: