Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Video] Fix scrubber tap target (#5360)

* put padding on correct element

* clear timeout on down

authored by

Samuel Newman and committed by
GitHub
75e3f51c d62e14ec

+4 -2
+4 -2
src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx
··· 259 259 if (evt.pointerType !== 'mouse' && !hovered) { 260 260 evt.preventDefault() 261 261 } 262 + clearTimeout(timeoutRef.current) 262 263 }, 263 264 [hovered], 264 265 ) ··· 355 356 style={[ 356 357 a.flex_1, 357 358 a.px_xs, 358 - a.pt_sm, 359 + a.pt_2xs, 359 360 a.pb_md, 360 361 a.gap_md, 361 362 a.flex_row, ··· 592 593 return ( 593 594 <View 594 595 testID="scrubber" 595 - style={[{height: 18, width: '100%'}, a.flex_shrink_0, a.px_xs, a.py_xs]} 596 + style={[{height: 18, width: '100%'}, a.flex_shrink_0, a.px_xs]} 596 597 onPointerEnter={onStartHover} 597 598 onPointerLeave={onEndHover}> 598 599 <div ··· 603 604 alignItems: 'center', 604 605 position: 'relative', 605 606 cursor: scrubberActive ? 'grabbing' : 'grab', 607 + padding: '4px 0', 606 608 }} 607 609 onPointerDown={onPointerDown} 608 610 onPointerMove={onPointerMove}