Comments (10)
我这边测试正常,如果需要dismiss弹出层,你需要
- 慢速拖动到至少屏幕y轴中间以下
- 以极快速的拖动
现有交互并不是你开始拖动就关闭弹出层视图。
from hwpanmodal.
from hwpanmodal.
我试了下,确实可以复现,刚开始没理解您的意思。
感谢,我修复一下。
@CivelXu
from hwpanmodal.
@CivelXu
已修复on 0.6.4
,麻烦看看修复没
from hwpanmodal.
from hwpanmodal.
微信也有类似的问题,比如侧滑把网页最小化,有短暂无法触摸的问题。
你可以把animation duration缩短,然后animation options不用spring,应该会好一点。
from hwpanmodal.
能否考虑把 transitionDuration 开始和结束的时间 分开给接口; 缩短结束的动画时间时候?如果缩短开始的时候动画效果很不好, 可以看一下今日头条的评论弹出层, 不会感受到无法触摸的情况。
from hwpanmodal.
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
duration = 0.2
}
动态更改了duration, 可以修改 无法触摸的情况
from hwpanmodal.
override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) duration = 0.2 }
动态更改了duration, 可以修改 无法触摸的情况
可以,后面考虑加上
from hwpanmodal.
@CivelXu HWPanModal (0.6.5)
- (NSTimeInterval)dismissalDuration;
from hwpanmodal.
Related Issues (20)
- 手势代理能否抛出? HOT 9
- 里面有UIWebView 注释审核过不了 ,建议更新 HOT 1
- vc里面有两个子vc,子vc使用的是tableView,该怎么刷新呢 HOT 1
- present vc用navigation 包一层 HOT 2
- 'UIScrollView+Helper.h' file not found HOT 2
- Will the information be leaked? HOT 1
- App - 当在弹出控制器中添加类似今日头条的评论输入框组件后,tableview和底部组件之间会留间距 HOT 1
- presentPanModal后的控制器,添加VisualEffectView想实现虚化底部控制器view的效果无效 HOT 3
- 请问做下滑动画时,滑动到什么位置dismiss,这个参数可以自己设置吗,我没有找到 HOT 2
- swift 找不到 has no member 'contentShadow' HOT 2
- shouldEnableAppearanceTransition 导致push vc 问题
- 命名问题 HOT 2
- 蒙层的背景颜色,能不能支持自定义呀,现在搞成黑色,只能设置alpha太不灵活呀
- pickerview 滚动冲突怎么办? HOT 1
- showsScrollableVerticalScrollIndicator notwork
- allowsTouchEventsPassingThroughTransitionView 设置成true 返回问题 HOT 1
- 使用HWFullScreenNavController例子,如果子控制器是一个tableview,再次点击push新的子控制器之后,新子控制器的tableview不能滑动,pop上一个弹窗页面,也不能滑动 HOT 1
- 如何实现present的vc里面点击push到新的全屏页面 HOT 5
- iPad窗口缩放问题 HOT 1
- 【求助】侧滑返回时,如何处理成和点击蒙层同样的关闭效果? HOT 3
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 hwpanmodal.