[Glitch] Display search popout at fixed screen position

Port 37e12ff0ae to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
Rens Groothuijsen 2022-12-15 17:38:50 +01:00 committed by Claire
parent c6f7d66cbd
commit 6e40a09c88
1 changed files with 1 additions and 2 deletions

View File

@ -161,8 +161,7 @@ class Search extends React.PureComponent {
<Icon id='search' className={hasValue ? '' : 'active'} />
<Icon id='times-circle' className={hasValue ? 'active' : ''} />
</div>
<Overlay show={expanded && !hasValue} placement='bottom' target={this}>
<Overlay show={expanded && !hasValue} placement='bottom' target={this} container={this}>
<SearchPopout />
</Overlay>
</div>