There seems to be a bug in UIPanGestureRecognizer when trying to calculate a translation for superview instead of nil/window. This might be a quickfix for now. We should add some love to our gesture handling in the future.
Todos
[x] test non full height UITextView
[x] test full width UIScrollView
[x] test UIPanGestureRecognizer
Testing Details
Please check if the PR fulfills these requirements
[x] Self-review: I am confident this is the simplest and clearest way to achieve the expected behaviour
[ ] There are no dependencies on other PRs or I have linked dependencies through Zenhub
[ ] The commit messages are clean and understandable
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Code runs on all relevant platforms (if major change: screenshots attached)
Type of change: bugfix
Motivation
There seems to be a bug in
UIPanGestureRecognizer
when trying to calculate atranslation
for superview instead ofnil/window
. This might be a quickfix for now. We should add some love to our gesture handling in the future.Todos
Testing Details
Please check if the PR fulfills these requirements