Comments (8)
GetPage里面设置popGesture: false可以解决
from getx.
GetPage里面设置popGesture: false可以解决
这个一刀切有点不符合我这边的逻辑,我这边的场景就类似打开一个只有一个webview的页面,webview加载了很多层的url,侧滑返回时要让webview.goback(),webview不能回退时再侧滑就退出当前页面。
就差不多是这样的,根据不同情况来判断处理侧滑事件
from getx.
试试这两:
adaptive_will_pop_scope
adaptive_pop_scope
我感觉在iOS上拦截侧滑是个很奇怪的事情,侧滑本身已经触发了动画,这时候拦截掉,体验不是很友好
from getx.
same same
from getx.
试试这两: adaptive_will_pop_scope adaptive_pop_scope
我感觉在iOS上拦截侧滑是个很奇怪的事情,侧滑本身已经触发了动画,这时候拦截掉,体验不是很友好
不好意思,这几天太忙没看,这个拦截侧滑就是要在侧滑开始之前拦截啊,不是已经发生侧滑了才拦截。WillPopScope就是处理这种的,监听到这个动作的时候可以让你决定在onWillPop返回是否可以侧滑
from getx.
Related Issues (20)
- Null check operator used on a null value when deep linking added HOT 7
- Get.defaultDialog custom property never used in code. HOT 1
- Dialogs not closing when Get.back() HOT 1
- How to refresh the previous page when Get.back and Get.until HOT 6
- Navigation is not storing browser history HOT 4
- “Getx Controller Error: ‘AppClient?’ not found in Flutter” HOT 1
- Get.toNamed preventDuplicates: false has no effect HOT 11
- GetxController dispose is not working HOT 3
- setUrlStrategy in subfolder, error 404 HOT 1
- Get.toNamed parameters [preventDuplicates] and GetPage() parameters [preventDuplicates]Not universal
- Get.snackbar() doesn't work successfully when starting the app for the first time. HOT 3
- [GetMiddleware] RouteDecoder.fromRoute can't Jump
- Flutter web deepLink HOT 4
- Using Base URL for graphql requests doesn't work
- 能否说明下 Get5 的路由 HOT 1
- Flutter web Getx routing dynamic API extension for testing
- Got status 3xx with followRedirects is true
- KINDLY COMMUNICATE WITH COMMUNITY PLEASE ( dear developer) you are making us loose hope HOT 8
- RTL Icon Padding Issue in Get.rawSnackbar() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getx.