mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: drag on mobile
This commit is contained in:
1 parent
c4d1e305f6
commit
519558dd28
1 file changed
+1
-2
@@ -443,6 +443,7 @@ export default function Page() {
|
|||||||
draggable={false}
|
draggable={false}
|
||||||
style={{
|
style={{
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
|
touchAction: 'none',
|
||||||
cursor: 'grab',
|
cursor: 'grab',
|
||||||
objectFit: 'contain',
|
objectFit: 'contain',
|
||||||
}}
|
}}
|
||||||
@@ -474,8 +475,6 @@ export default function Page() {
|
|||||||
index,
|
index,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(insertionMarkers);
|
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
insertionMarkers.splice(
|
insertionMarkers.splice(
|
||||||
insertionMarkers.findIndex(
|
insertionMarkers.findIndex(
|
||||||
|
|||||||
Reference in new issue
Block a user