mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-24 04:46:22 +02:00
style: prevent text from being selected on drag-to-scroll
This commit is contained in:
@@ -39,6 +39,8 @@ export function GroupBadges({
|
||||
const container = scrollContainerRef.current;
|
||||
if (!container) return;
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
dragStartRef.current = {
|
||||
x: e.clientX,
|
||||
scrollLeft: container.scrollLeft,
|
||||
|
||||
Reference in New Issue
Block a user