CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 06:52:23 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/unovue/reka-ui.git
etag: W/"1e09dc93583cb884818a3f77ddf5119c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=LFwW3J5l9%2BYliDmDG6dOWCpAyk8DExFF3H9g2PxYj8f6EJYpv4g8sMh%2Bs9nlmxGbvBmH9HuT7iTdO4RD3kPjgNLOGScFugd7l6hYYrtF%2Bl5V9qYL6P7fMFtq76%2BrQZghq1Fq9yaRAIaNm88J2tZQlibmraXEkYdLTTMBjygdontK3wFXRjC1WScmfKGxV5lZF9sN%2BsEdNvF5kfZuqPnaIlOB%2Fio69LgGp8ll4iKsB%2BynOX4Ejdfe7RdQTGAS8i3DPZ7MkxfUBAfMYeUOqRJLUg%3D%3D--%2BX9HSnhd1mb%2BUKAZ--n%2FTsXPpociGgCFxfPSbGBA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1338912161.1753080743; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 06:52:23 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 06:52:23 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9DC6:26CB0:18669DF:1FAAEB7:687DE3A7
fix(Combobox): async options highlight (#1854) · unovue/reka-ui@7739168 · GitHub


authored
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxCancel.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxEmpty.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxGroup.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxInput.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxItem.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxRoot.vue
Copy file name to clipboard
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxFilter.vue
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxRoot.vue
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxVirtualizer.vue
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit 7739168

fix(Combobox): async options highlight (#1854)
* refactor(listbox-root): remove unused parameter from highlightFirstItem function
The function does not use the event in any case.
* fix(combobox-root): highlight first items after item amount is changes
This should fix issues with item highlight while using async loading for options.
* refactor(listbox-virtualizer): fix type-check
* refactor(combobox): use computed instead of reactive with watchers
Using a computed intead of a reactive with updates via watchers
should be more reliable and less prone to issues with stale state.
This also seems to fix the issues we were discussing in this PR.
* fix(combobox-cancel): use filterSearch instead of filterState.search
This happened in a badly resolved merge conflict.
* test(combobox): add story for async options
* fix: virtual list, cleanup
---------
Co-authored-by: Jakub <jakub.michalek@freelo.io>
Co-authored-by: zernonia <zernonia@gmail.com>1 parent 47667c5 commit 7739168Copy full SHA for 7739168
File tree
Expand file treeCollapse file tree
10 files changed
+153
-62
lines changedFilter options
- packages/core/src
- Combobox
- story
- Listbox
Expand file treeCollapse file tree
10 files changed
+153
-62
lines changedpackages/core/src/Combobox/ComboboxCancel.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxCancel.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
|
packages/core/src/Combobox/ComboboxEmpty.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxEmpty.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
|
packages/core/src/Combobox/ComboboxGroup.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxGroup.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
packages/core/src/Combobox/ComboboxInput.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxInput.vue+9-11Lines changed: 9 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
| 48 | + | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
97 | 95 |
| |
98 | 96 |
| |
99 | 97 |
| |
|
packages/core/src/Combobox/ComboboxItem.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxItem.vue+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
|
packages/core/src/Combobox/ComboboxRoot.vue
Copy file name to clipboardExpand all lines: packages/core/src/Combobox/ComboboxRoot.vue+32-43Lines changed: 32 additions & 43 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 27 | + | |
| 28 | + | |
31 | 29 |
| |
32 | 30 |
| |
33 | 31 |
| |
| |||
68 | 66 |
| |
69 | 67 |
| |
70 | 68 |
| |
71 |
| - | |
| 69 | + | |
72 | 70 |
| |
73 | 71 |
| |
74 | 72 |
| |
| |||
106 | 104 |
| |
107 | 105 |
| |
108 | 106 |
| |
109 |
| - | |
| 107 | + | |
110 | 108 |
| |
111 | 109 |
| |
112 | 110 |
| |
| |||
137 | 135 |
| |
138 | 136 |
| |
139 | 137 |
| |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 | 138 |
| |
152 |
| - | |
153 |
| - | |
154 |
| - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
155 | 147 |
| |
156 |
| - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
157 | 153 |
| |
158 | 154 |
| |
159 |
| - | |
160 |
| - | |
161 | 155 |
| |
| 156 | + | |
| 157 | + | |
162 | 158 |
| |
163 | 159 |
| |
164 | 160 |
| |
165 |
| - | |
166 |
| - | |
| 161 | + | |
| 162 | + | |
167 | 163 |
| |
168 | 164 |
| |
169 | 165 |
| |
170 | 166 |
| |
171 | 167 |
| |
172 | 168 |
| |
173 | 169 |
| |
174 |
| - | |
175 |
| - | |
| 170 | + | |
| 171 | + | |
176 | 172 |
| |
177 | 173 |
| |
178 | 174 |
| |
179 | 175 |
| |
180 | 176 |
| |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
195 | 183 |
| |
196 | 184 |
| |
197 | 185 |
| |
| |||
203 | 191 |
| |
204 | 192 |
| |
205 | 193 |
| |
206 |
| - | |
| 194 | + | |
207 | 195 |
| |
208 | 196 |
| |
209 | 197 |
| |
| |||
229 | 217 |
| |
230 | 218 |
| |
231 | 219 |
| |
| 220 | + | |
232 | 221 |
| |
233 | 222 |
| |
234 | 223 |
| |
|
packages/core/src/Combobox/story/ComboboxAsyncOptions.story.vue
Copy file name to clipboard+104Lines changed: 104 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + |
packages/core/src/Listbox/ListboxFilter.vue
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxFilter.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
|
packages/core/src/Listbox/ListboxRoot.vue
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxRoot.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
|
packages/core/src/Listbox/ListboxVirtualizer.vue
Copy file name to clipboardExpand all lines: packages/core/src/Listbox/ListboxVirtualizer.vue+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
| 125 | + | |
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
|
You can’t perform that action at this time.
0 commit comments