| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
|
||
| touchesBeganWithEvent(touches: NSSet<any>, event: any): void { | ||
| this.executeCallback(TouchAction.down, touches, event); | ||
| (this.observer.target.nativeView as UIView).touchesBeganWithEvent(touches, event); |
There was a problem hiding this comment.
Can you use this.view (type is UIView) -> it should be the same, only shorter and without the casting.
Sorry, something went wrong.
There was a problem hiding this comment.
sure didn't know I could access it that way
Sorry, something went wrong.
There was a problem hiding this comment.
@vakrilov done!
Sorry, something went wrong.
|
test |
Sorry, something went wrong.
|
@farfromrefug Looks good - thanks for the PR. Can just check my review. |
Sorry, something went wrong.
|
test |
Sorry, something went wrong.
|
@vakrilov do I have to do something? I can see that some tests are failing when they were passing before. |
Sorry, something went wrong.
|
test |
Sorry, something went wrong.
|
Hey @farfromrefug - there is an unstable test in the CI that is causing some of the PR builds to fail. We are currently hunting it down. |
Sorry, something went wrong.
|
test |
Sorry, something went wrong.
|
@vakrilov thanks for explaining. I think I also understand your "test" comments now. It s there to trigger a test build! |
Sorry, something went wrong.
|
You are correct - test just triggers the internal Jenkins builds. |
Sorry, something went wrong.
|
@farfromrefug Thanks! 😄 |
Sorry, something went wrong.
|
Yes. But I was trying to use this for a NativeScript snack. Which is on NativeScript Playground. |
Sorry, something went wrong.
…ds (#6113) * fix ios Touch gestures super methods not being called on nativeView * use “this.view”
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Checklist
What is the current behavior?
Attach touch gesture to a button (best example to see the issue). You won't get button animations anymore.
What is the new behavior?
The touch gesture delegate now calls base methods on the native observed view.
Fixes #4449
You can test it here: https://play.nativescript.org/?template=play-ng&id=46hl3N&v=2