Fix search results view for layouts other than Group/Modern (#7648)
This commit is contained in:
parent
31e6b942f2
commit
50f8c61fa8
6 changed files with 69 additions and 26 deletions
|
@ -26,6 +26,12 @@ import { toPx } from "../../../utils/units";
|
|||
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||
import MemberAvatar from '../avatars/MemberAvatar';
|
||||
|
||||
export interface IReadReceiptInfo {
|
||||
top?: number;
|
||||
left?: number;
|
||||
parent?: Element;
|
||||
}
|
||||
|
||||
interface IProps {
|
||||
// the RoomMember to show the RR for
|
||||
member?: RoomMember;
|
||||
|
@ -43,10 +49,8 @@ interface IProps {
|
|||
// don't animate this RR into position
|
||||
suppressAnimation?: boolean;
|
||||
|
||||
// an opaque object for storing information about this user's RR in
|
||||
// this room
|
||||
// TODO: proper typing for RR info
|
||||
readReceiptInfo: any;
|
||||
// an opaque object for storing information about this user's RR in this room
|
||||
readReceiptInfo: IReadReceiptInfo;
|
||||
|
||||
// A function which is used to check if the parent panel is being
|
||||
// unmounted, to avoid unnecessary work. Should return true if we
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue