diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 15612674b..88dc06e1a 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -470,7 +470,8 @@ class RoomView extends React.Component { headerLeft: () => ( { const { input } = event; if (handleCommandScroll(event)) { const offset: number = input === 'UIKeyInputUpArrow' ? 100 : -100; - this.offset += offset; + this.offset! += offset; this.flatList?.scrollToOffset({ offset: this.offset }); } else if (handleCommandRoomActions(event)) { this.goRoomActionsView();