fix: Fixed issue where trying to create new folder on mobile would close navigation pane

This commit is contained in:
Aman Harwara
2023-07-19 19:35:10 +05:30
parent 58cf0e542f
commit 2b0df30ca2

View File

@@ -110,6 +110,7 @@ export const usePaneSwipeGesture = (
const touch = event.touches[0]
startX = touch.clientX
clientX = touch.clientX
const isStartOutOfThreshold =
(direction === 'right' && startX > TouchStartThreshold) ||