open profile view on left side in member drawer

This commit is contained in:
Ajay Bura 2025-08-09 16:23:20 +05:30
parent 2f77b3fd85
commit a44cefedcf
4 changed files with 10 additions and 8 deletions

View file

@ -10,7 +10,7 @@ import { SpaceProvider } from '../hooks/useSpace';
import { RoomProvider } from '../hooks/useRoom';
function UserRoomProfileContextMenu({ state }: { state: UserRoomProfileState }) {
const { roomId, spaceId, userId, cords } = state;
const { roomId, spaceId, userId, cords, position } = state;
const allJoinedRooms = useAllJoinedRoomsSet();
const getRoom = useGetRoom(allJoinedRooms);
const room = getRoom(roomId);
@ -23,7 +23,7 @@ function UserRoomProfileContextMenu({ state }: { state: UserRoomProfileState })
return (
<PopOut
anchor={cords}
position="Top"
position={position ?? 'Top'}
align="Start"
content={
<FocusTrap