Skip to content
2 changes: 1 addition & 1 deletion app/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fireshare",
"version": "1.7.3",
"version": "1.7.4",
"private": true,
"dependencies": {
"@emotion/react": "^11.9.0",
Expand Down
9 changes: 7 additions & 2 deletions app/client/src/components/cards/CompactVideoCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ const CompactVideoCard = ({
}

const handleMouseDown = (e) => {
if (editMode && e.shiftKey) {
// Keep shift-click range selection from extending the native text selection
e.preventDefault()
return
}
if (e.button === 1) {
window.open(`${PURL}${video.video_id}`, '_blank')
}
Expand Down Expand Up @@ -480,9 +485,9 @@ const CompactVideoCard = ({
/>
<motion.div
style={{ position: 'absolute', inset: 0, cursor: 'pointer' }}
onClick={() => {
onClick={(e) => {
if (editMode) {
onSelect?.(video.video_id)
onSelect?.(video.video_id, e.shiftKey)
return
}
if (isLocked) {
Expand Down
Loading
Loading