[Glitch] Display search popout at fixed screen position

Port 726c7dea31 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
local
Rens Groothuijsen 1 year ago committed by Claire
parent 89d3d85cf2
commit d7a6a9393a
  1. 3
      app/javascript/flavours/glitch/features/compose/components/search.js

@ -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>

Loading…
Cancel
Save