-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Description
Description
onActive doesn't fire with the Vue renderer, and items do not get highlighted on hover because aria-selected is always false.
Reproduction
Follow the document at https://www.algolia.com/doc/ui-libraries/autocomplete/integrations/using-vue/ and replace the renderer option
renderer: { createElement: h, Fragment, render }Then, search and hover your mouse cursor over any items.
Reproduce link: https://stackblitz.com/edit/vitejs-vite-bbjrfwxy?file=src%2FApp.vue
Note
- Upon removing the renderer option, everything works as expected.
- Keyboard navigation still works as the item still get highlighted and
onActivealso get called.
Expected behavior
onActiveshould be called.aria-selectedstate should updated accordingly.
Environment
- OS: macOS 15.1.1 (24B91)
- Browser: Chrome Version 131.0.6778.265
- Autocomplete version: 1.17.9
Metadata
Metadata
Assignees
Labels
No labels