Files
backstage/.changeset/search-turtles-itch.md
T
Camila Belo 509c4092f0 chore: add changeset file
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2022-06-21 11:54:38 +02:00

493 B

@backstage/plugin-search
@backstage/plugin-search
patch

To allow people to use a global search context in the search modal, the code for the search modal has been changed to only create a local search context if there is no parent context already defined.

If you want to continue using a local context even if you define a global one, you will have to wrap the modal in a new local context manually:

<SearchContextProvider>
  <SearchModal toggleModal={toggleModal} />
</SearchContextProvider>