callstack / callstack/react-native-slider

Augment the hitSlop or prevent parent gesture listener to react around slider

未关闭
#296 20 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
bug report platform: Android
主要语言
TypeScript
星标
1.4k
派生
295
平均合并
5 分钟
30 天内合并 PR
1

描述

I'm using a slider within a [swiper](https://github.com/leecade/react-native-swiper) and it's quite hard to slide the slider without triggering the swiper.

How could I improve that situation ?

Is there some kind of hitSlop prop equivalent on the slider?

If not, how could I workaround this problem?

贡献指南

打开贡献指南

调研方向

该 issue 未指定任何文件或测试。首先在 react-native-swiper 中复现 slider,并调查 slider 与父级手势监听器之间的交互,包括是否存在等同于 hitSlop 的 API。完成标准是:在所报告的配置中验证有一种明确界定的方法,可以防止父级的非预期手势或改善与 slider 的交互。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。