Skip to content

Commit

Permalink
fix(publishing): Search Bar Results to not stay anchored to the searc…
Browse files Browse the repository at this point in the history
…h bar when scrolling up (#2292)
  • Loading branch information
eleweek committed Jan 27, 2022
1 parent 9e505c7 commit 32b09b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextjs-template/components/DendronSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ function DendronSearchComponent(
allowClear
style={{ width: "100%" }}
value={searchQueryValue}
getPopupContainer={(trigger) => trigger.parentElement}
// @ts-ignore
onClick={results === SearchMode.SEARCH_MODE ? () => null : onClickLookup}
onChange={
Expand Down

0 comments on commit 32b09b0

Please sign in to comment.