only reserve space for jump to bottom when it exists
This commit is contained in:
parent
0fcbc275cd
commit
f5645db6ea
1 changed files with 4 additions and 3 deletions
|
|
@ -266,11 +266,12 @@ final class const RoomChat({
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Positioned(
|
AnimatedPositioned(
|
||||||
|
duration: Durations.short4,
|
||||||
bottom: composerSize.value,
|
bottom: composerSize.value,
|
||||||
left: 12,
|
left: 12,
|
||||||
// To give space for jump to bottom button
|
// Leaves room for the jump to bottom button when it's shown
|
||||||
right: 72,
|
right: scroll.atBottom ? 12 : 72,
|
||||||
child: MeasureSize(
|
child: MeasureSize(
|
||||||
onChange: (size) =>
|
onChange: (size) =>
|
||||||
typingIndicatorSize.value = size.height,
|
typingIndicatorSize.value = size.height,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue