mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-19 01:14:06 +01:00
Fixed unnecessary rerender of search results on focus
This commit is contained in:
parent
d21da8d522
commit
af50d5b177
@ -63,6 +63,7 @@ export function mountSearchQuery(
|
||||
/* Subscribe worker to search query */
|
||||
query$
|
||||
.pipe(
|
||||
distinctUntilKeyChanged("value"),
|
||||
map<SearchQuery, SearchQueryMessage>(({ value }) => ({
|
||||
type: SearchMessageType.QUERY,
|
||||
data: value
|
||||
|
Loading…
x
Reference in New Issue
Block a user