Skip to content

[Bug]: TagPicker onResolveSuggestions not triggered in React 18 using createRoot #25441

@mrmonday

Description

@mrmonday

Library

React / v8 (@fluentui/react)

System Info

Reproduces in the sandbox and on my dev machine.

Are you reporting Accessibility issue?

no

Reproduction

https://codesandbox.io/s/elated-jackson-21qury

Bug Description

Modify the useCreateRoot boolean in the index.js reproduction to toggle working/non-working behaviour.

Actual Behavior

onResolveSuggestions is not called when text is entered in the tag picker when using React 18's createRoot API.

Expected Behavior

onResolveSuggestions should called when text is entered in the tag picker when using React 18's createRoot API.

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions