-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.untriaged
Description
Issue summary
There are a number of bugs and accessibility issues with the current AutoComplete component. We are seeking to replace the internals of the component with new versions of ComboBox and ListBox built by @daniedleroux and @AndrewMusgrave.
Expected behavior
The new AutoComplete component should be fully backwards compatible with the existing one. It should also reach ComboBox and ListBox 1.2 spec.
Remaining Tasks
- Address listTitle markup differences - (@AndrewMusgrave)
- Visual checkboxes for allowMultiple - Chris
- Loading indicator not showing when there are no results - Chris
- Focus ring partially cut off when last item in list - (@AndrewMusgrave)
- Add support for empty state - Chris
- Add support for
actionBefore- Chris - Handle id prop (ex: on combobox + listbox.options) - (@AndrewMusgrave)
- Fix/write tests
- Map (old) ComboBoxProps['options'] (aka OptionDescriptor) to ListBox.OptionProps - Andrew
- Support media prop in ListBox.Option
- label -> now part of Children
- Map active -> selected
-
Add support for id
-
Map (old) SectionDescriptor to (new) SectionProps-
Options now part of children
-
- Investigate performance differences - (@AndrewMusgrave)
- Investigate if we need to memoize options - (@AndrewMusgrave)
- Determine best pattern to use for loading localization - (@AndrewMusgrave)
- Fix storybook bugs
- Empty state accessibility (@AndrewMusgrave)
- Review pixel perfect padding for all prop variations (@voiid)
- Test on all browsers (@voiid)
Nice to have/pending discussion
- Arrow navigation is different (? - pending discussion)
- Add any missing tests from old component use cases (@AndrewMusgrave)
- Performance comparison screenshots/outline for PR (@AndrewMusgrave)
- Make component easier to use through hooks (@AndrewMusgrave)
- Improve README examples (@voiid)
- Finalize accessibility for screen readers
- (?) Should it announce options as selected
- (?) Should there be anything announced when toggling options?
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.untriaged