Skip to content

Combobox vNext: investigate DOM-based activedescendant/option-ordering implementation #22055

Description

@smhigley

The current Combobox/Option ordering logic uses React.children, key, and Option.fluentComponentType. This requires Options to be direct children of Combobox or OptionGroup, and for anyone extending Option to also set NewComponent.fluentComponentType (similar to Spectrum's Collection helper).

We should investigate querying the DOM to order options instead, since it doesn't have React component hierarchy restrictions.

Ref:

areas to investigate:

  • any implications for virtualization
  • will there be any issues with reordering options, or any other types of DOM modifications that might affect this?

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions