diff options
author | Rens Groothuijsen <l.groothuijsen@alumni.maastrichtuniversity.nl> | 2022-12-15 17:38:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 17:38:50 +0100 |
commit | 726c7dea31d2ee60b327afd327e945e3ece09ac4 (patch) | |
tree | b55b52ec4680d4855ad56532594a0463a9262290 /app/javascript | |
parent | ff414a5489fd2c6d154b18effca24dde54d92958 (diff) |
Display search popout at fixed screen position (#16463)
* Display search popout at fixed screen position * Attach search popout to search box
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/search.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/components/search.js b/app/javascript/mastodon/features/compose/components/search.js index 03e6dcf2c..8254fb607 100644 --- a/app/javascript/mastodon/features/compose/components/search.js +++ b/app/javascript/mastodon/features/compose/components/search.js @@ -140,8 +140,7 @@ class Search extends React.PureComponent { <Icon id='search' className={hasValue ? '' : 'active'} /> <Icon id='times-circle' className={hasValue ? 'active' : ''} aria-label={intl.formatMessage(messages.placeholder)} /> </div> - - <Overlay show={expanded && !hasValue} placement='bottom' target={this}> + <Overlay show={expanded && !hasValue} placement='bottom' target={this} container={this}> <SearchPopout /> </Overlay> </div> |