mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Disable drag in spotlight view
This commit is contained in:
parent
e23357dca2
commit
48eabecb87
@ -683,7 +683,7 @@ export function VideoGrid({ participants, layout }) {
|
||||
|
||||
api.start(animate(newTiles));
|
||||
},
|
||||
{ filterTaps: true }
|
||||
{ filterTaps: true, enabled: layout === "gallery" }
|
||||
);
|
||||
|
||||
return (
|
||||
@ -709,6 +709,10 @@ export function VideoGrid({ participants, layout }) {
|
||||
);
|
||||
}
|
||||
|
||||
VideoGrid.defaultProps = {
|
||||
layout: "gallery",
|
||||
};
|
||||
|
||||
function ParticipantTile({ style, participant, remove, presenter, ...rest }) {
|
||||
const videoRef = useRef();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user