Skip to content

Commit

Permalink
feat: make tweet card non draggable to allow sliding on video progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrsxx committed Feb 18, 2024
1 parent ac7b4dc commit d678acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/tweet/tweet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export function Tweet(tweet: TweetProps): JSX.Element {
? 'mt-0.5 pt-2.5 pb-0'
: 'border-b border-light-border dark:border-dark-border'
)}
draggable={false}
onClick={delayScroll(200)}
>
<div className='grid grid-cols-[auto,1fr] gap-x-3 gap-y-1'>
Expand Down

0 comments on commit d678acf

Please sign in to comment.