scroll if hidden hints are toggled

pull/118/head
Jon Eugster 3 years ago
parent 95480a752d
commit 8f12aab3b0

@ -93,7 +93,7 @@ function PlayableLevel({worldId, levelId}) {
// TODO: For some reason this is always called twice
console.debug('scroll chat')
chatRef.current!.lastElementChild?.scrollIntoView() //scrollTo(0,0)
}, [proof])
}, [proof, showHiddenHints])
React.useEffect(() => {
if (!commandLineMode) {

Loading…
Cancel
Save