mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-11-28 22:53:31 +01:00
style: prevent text from being selected on drag-to-scroll
This commit is contained in:
1 parent
40886f2ded
commit
689eeafc75
1 file changed
+2
@@ -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