Skip to content

Keep scroll at the bottom when new output is appended#149

Merged
eldano merged 2 commits intomasterfrom
fix_overflow
Sep 23, 2021
Merged

Keep scroll at the bottom when new output is appended#149
eldano merged 2 commits intomasterfrom
fix_overflow

Conversation

@eldano
Copy link
Copy Markdown
Contributor

@eldano eldano commented Sep 23, 2021

This works by using flex-direction: column-reverse so the browser will
treat the div as being reverted and will keep the scroll at the bottom
instead of top. The extra div is necessary so the content doesn't have
to be written inverted

This works by using flex-direction: column-reverse so the browser will
treat the div as being reverted and will keep the scroll at the bottom
instead of top. The extra div is necessary so the content doesn't have
to be written inverted
Copy link
Copy Markdown
Contributor

@grzuy grzuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@eldano eldano merged commit e7270d6 into master Sep 23, 2021
@eldano eldano deleted the fix_overflow branch September 23, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants