add make bottom anchor inline-block

This commit is contained in:
Ajay Bura 2023-10-20 16:49:57 +05:30
parent f6111a7b97
commit 6f587f14a6

View file

@ -1743,7 +1743,7 @@ export function RoomTimeline({ room, eventId, roomInputRef, editor }: RoomTimeli
<DefaultPlaceholder />
</>
))}
<span style={{ height: 1, width: 1 }} ref={atBottomAnchorRef} />
<span style={{ display: 'inline-block', height: 1, width: 1 }} ref={atBottomAnchorRef} />
</Box>
</Scroll>
{!atBottom && (