You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/07/05 10:43:59 UTC
[GitHub] [incubator-weex] roronoaxyz opened a new issue #2655: WXCycleSliderComponent 在iOS会屏蔽原生的手势左滑返回
roronoaxyz opened a new issue #2655: WXCycleSliderComponent 在iOS会屏蔽原生的手势左滑返回
URL: https://github.com/apache/incubator-weex/issues/2655
## Describe the bug
我在使用WXCycleSliderComponent这个控件的时候,发现在iOS上,左滑功能失效了,最初猜测是开启了弹簧效果,但是即使禁止了弹簧效果,一样也不能左滑。
如果我自己通过原生实现,我会重写scrollerView的一个回调事件,代码如下
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRequireFailureOfGestureRecognizer:(nonnull UIGestureRecognizer *)otherGestureRecognizer { if ([otherGestureRecognizer isKindOfClass:[UIScreenEdgePanGestureRecognizer class]]) { return YES; } return NO; }
但是看了源码后,发现贵方虽然实现了这个回调,但是没有实现里面的方法,请问有没有可能在下一个版本支持一下。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services