fix for janky scrolling when tapping reply with SuperSliverView
I don't like this but it does work.
This commit is contained in:
parent
aecfac9533
commit
7ab92f76bf
2 changed files with 27 additions and 19 deletions
|
|
@ -95,10 +95,11 @@ final class const RoomChat({
|
|||
Future<void> jumpToId(String eventId) async {
|
||||
highlightedEvent.value = eventId;
|
||||
|
||||
await scroll.jumpToId(eventId);
|
||||
final jump = scroll.jumpToId(eventId);
|
||||
await Future.delayed(.new(seconds: 1), () {
|
||||
if (highlightedEvent.value == eventId) highlightedEvent.value = null;
|
||||
});
|
||||
await jump;
|
||||
}
|
||||
|
||||
IList<PopupMenuEntry> getEventOptions(Event event) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue