-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于遮罩(onMask)的触发时机问题 #71
Labels
enhancement
New feature or request
Comments
有点搞不懂你想干嘛
你搞这些就是为了在遮罩上面搞个高亮效果?你可以看看 |
想要实现的效果是在监听到遮罩层外的部分滑动过程中关闭attach,而非在抬起时关闭。 |
问一下,你这是想你的所有弹窗都是这种表现吗?
|
是的,因为产品设计的原因会出现较多的这种效果... |
xdd666t
added a commit
that referenced
this issue
Aug 6, 2022
你这个问题解决了
dependencies:
flutter_smart_dialog: ^4.0.9+8
SmartDialog.config
//show 全局配置
..custom = SmartConfigCustom(
maskTriggerType: SmartMaskTriggerType.move,
)
//showAttach 全局配置
..attach = SmartConfigAttach(
maskTriggerType: SmartMaskTriggerType.move,
); |
感谢作者大大的支持,谢谢。 |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本信息
描述bug/需求
_buildBgAnimation 里面的 Listener 监听事件需要使用一个 onPointerMove 解决在 CustomScrollView 内使用时滚动但未关闭Attach的情况。
问题demo
想添加一个
onMaskMove
的监听以用来解决关闭页面的问题The text was updated successfully, but these errors were encountered: