feat(fab): 新增 onLongPress 长按回调支持 - #985
Open
liweijie0812 wants to merge 7 commits into
Open
Conversation
Contributor
Web DemoAPK 下载 |
Member
|
|
- TFab 在自定义 child 模式下透传 onLongPress 到定位层手势(buildFabPositioned) - 非拖拽模式:外层 GestureDetector 补充 onLongPress - 拖拽模式:_FabDraggable 的 GestureDetector 补充 onLongPress - 修复原有长按测试中 const + 闭包导致的编译错误 - 新增 child 模式长按、未传不包手势、拖拽+长按 3 条测试 - 更新 fab_api.md onLongPress 说明
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
fix(组件名称): 处理问题或特性描述 ...
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单
type(scope): 修改描述;scope可填写组件、文档或 CI 模块(示例:fix(TBottomTabBar): 修复 iconText 模式底部溢出、docs(contributing): 更新 PR 提交流程)