fix: pages cannot be quickly moved back by hand gestures (#4845)

This commit is contained in:
Vben 2024-11-09 16:32:55 +08:00 committed by GitHub
parent 4005023fd4
commit 26bec4222f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 8 deletions

View File

@ -31,7 +31,7 @@
#app,
body,
html {
@apply size-full overscroll-none;
@apply size-full;
/* scrollbar-gutter: stable; */
}

View File

@ -37,6 +37,7 @@
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "catalog:",
"default-passive-events": "^2.0.0",
"vue": "catalog:",
"vue-router": "catalog:"
}

View File

@ -1,3 +1,5 @@
import 'default-passive-events';
export * from './authentication';
export * from './basic';
export * from './iframe';

20
pnpm-lock.yaml generated
View File

@ -31,8 +31,8 @@ catalogs:
specifier: ^9.2.0
version: 9.2.0
'@iconify/json':
specifier: ^2.2.269
version: 2.2.269
specifier: ^2.2.270
version: 2.2.270
'@iconify/tailwind':
specifier: ^1.1.3
version: 1.1.3
@ -1045,7 +1045,7 @@ importers:
dependencies:
'@iconify/json':
specifier: 'catalog:'
version: 2.2.269
version: 2.2.270
'@iconify/tailwind':
specifier: 'catalog:'
version: 1.1.3
@ -1593,6 +1593,9 @@ importers:
'@vueuse/core':
specifier: 'catalog:'
version: 11.2.0(vue@3.5.12(typescript@5.6.3))
default-passive-events:
specifier: ^2.0.0
version: 2.0.0
vue:
specifier: ^3.5.12
version: 3.5.12(typescript@5.6.3)
@ -3583,8 +3586,8 @@ packages:
'@iconify-json/vscode-icons@1.2.2':
resolution: {integrity: sha512-bTpT0HJDRqGkxQv8oiETNHLEnBZpnA1QaRD35CQyO7M7qgWVLx2xwn/lK6e4waojmlPC3ckMBx3WFIUUn0/Jdg==}
'@iconify/json@2.2.269':
resolution: {integrity: sha512-ouyDWNdmdtwhmIjZt1+wKj8nCq/V8PrT748exRnlXG//Hb8eLc/K4q4nKiO18gQNnwESMPQDGlrk5aTZaANoHg==}
'@iconify/json@2.2.270':
resolution: {integrity: sha512-BpuvTnPpjmKwzopqhokLz99v69n2BOeWAEvm7ttIsesUM2a8JWr4PTYzu8iMbK9cFNcrGMtWNmBYqDznxRAQcA==}
'@iconify/tailwind@1.1.3':
resolution: {integrity: sha512-SfyeT+2b/aKWA6DjwdevXdLUqaEqJ5xWTegD92KItaWc47IYsGuqrt/GOz4dJCPcTVCrsUjlvMpy8cNd+uV5nQ==}
@ -5631,6 +5634,9 @@ packages:
resolution: {integrity: sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==}
engines: {node: '>=18'}
default-passive-events@2.0.0:
resolution: {integrity: sha512-eMtt76GpDVngZQ3ocgvRcNCklUMwID1PaNbCNxfpDXuiOXttSh0HzBbda1HU9SIUsDc02vb7g9+3I5tlqe/qMQ==}
define-data-property@1.1.4:
resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}
engines: {node: '>= 0.4'}
@ -12103,7 +12109,7 @@ snapshots:
dependencies:
'@iconify/types': 2.0.0
'@iconify/json@2.2.269':
'@iconify/json@2.2.270':
dependencies:
'@iconify/types': 2.0.0
pathe: 1.1.2
@ -14568,6 +14574,8 @@ snapshots:
bundle-name: 4.1.0
default-browser-id: 5.0.0
default-passive-events@2.0.0: {}
define-data-property@1.1.4:
dependencies:
es-define-property: 1.0.0

View File

@ -23,7 +23,7 @@ catalog:
'@ctrl/tinycolor': ^4.1.0
'@eslint/js': ^9.14.0
'@faker-js/faker': ^9.2.0
'@iconify/json': ^2.2.269
'@iconify/json': ^2.2.270
'@iconify/tailwind': ^1.1.3
'@iconify/vue': ^4.1.2
'@intlify/core-base': ^10.0.4