Skip to content

Commit

Permalink
1.1.300rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed May 28, 2024
1 parent 126970f commit d2fb216
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

Nothing unreleased!

## [1.1.300rc1] - 2024-05-28

### Fix

- Scroll flickering when streaming
- Logo max height

## [1.1.300rc0] - 2024-05-27

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/atoms/buttons/scrollDownButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function ScrollDownButton({ onClick }: Props) {
color: 'background.paper',
zIndex: 1,
transform: 'translateY(-100%)',
top: 0,
top: -20,
left: 0,
right: 0,
'&:hover': {
Expand Down
10 changes: 4 additions & 6 deletions frontend/src/components/molecules/messages/ScrollContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ export default function ScrollContainer({
}, [session?.socket.id]);

useEffect(() => {
setTimeout(() => {
if (!ref.current || !autoScroll) {
return;
}
ref.current.scrollTop = ref.current.scrollHeight;
}, 0);
if (!ref.current || !autoScroll) {
return;
}
ref.current.scrollTop = ref.current.scrollHeight;
}, [messages, autoScroll]);

const handleScroll = () => {
Expand Down

0 comments on commit d2fb216

Please sign in to comment.