Skip to content
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

YYTextView和YYLabel TapAction不响应 #976

Open
vchao opened this issue Sep 8, 2022 · 2 comments
Open

YYTextView和YYLabel TapAction不响应 #976

vchao opened this issue Sep 8, 2022 · 2 comments

Comments

@vchao
Copy link

vchao commented Sep 8, 2022

为YYTextView设置了YYTextHighlight后,tapAction没有响应,而如果同时设置了tapAction和YYTextView的delegate的话,代理也没有响应,只有屏蔽tapAction后代理才有响应回调,但delegate也是需要用力按压才有响应;
同时YYLabel的tapAction也没有任何响应。
看这个问题已经有很多人反映了,到现在还没有解决方案

@kavinXy
Copy link

kavinXy commented Sep 20, 2022

iOS16 tagAction无效

@suricforever
Copy link

为YYTextView设置了YYTextHighlight后,tapAction没有响应,而如果同时设置了tapAction和YYTextView的delegate的话,代理也没有响应,只有屏蔽tapAction后代理才有响应回调,但delegate也是需要用力按压才有响应; 同时YYLabel的tapAction也没有任何响应。 看这个问题已经有很多人反映了,到现在还没有解决方案

检查一下当前页面是否有手势,如果有,将手势的 cancelTouchsInView 设置为 false 试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants