Merge pull request #3524 from Snarling/realignAutocomplete

UI: FIX #3522 realigned autocomplete popup
This commit is contained in:
hydroflame 2022-04-20 13:05:27 -04:00 committed by GitHub
commit 307ec7961a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -401,7 +401,7 @@ export function TerminalInput({ terminal, router, player }: IProps): React.React
onKeyDown: onKeyDown,
}}
></TextField>
<Popper open={possibilities.length > 0} anchorEl={terminalInput.current} placement={"top-end"}>
<Popper open={possibilities.length > 0} anchorEl={terminalInput.current} placement={"top-start"}>
<Paper sx={{ m: 1, p: 2 }}>
<Typography classes={{ root: classes.preformatted }} color={"primary"} paragraph={false}>
Possible autocomplete candidates: