Closed zdavatz closed 6 years ago
This is not straightforward to debug and fix, because it seems to work in the simulator.
The doctor view is not swipeable in the simulator.
I just verified it: it is swipeable in the simulator when you run it from my fork of the project, but not from your original project
How do you swipe?
Where do you place the mouse in the doctor view when you pull to the right?
I start dragging from near the left edge. It doesn't seem to be critical the exact spot.
Where? Below the fields (below the Selfie) or at which field name?
For example, I start dragging with the mouse exactly from the "Z" of the ZIP label.
Ok, that does not happen in my simulator. Can you test with an iPhone attached to the iMac?
On the real device it doesn't work, as you reported. That's why I said it's not straightforward to debug. Maybe the ScrollViews are intercepting the gesture.
Disabling the scroll action as suggested in the link you posted seems to have fixed it !
The problem is with the patient view now. If we make it non scrollable there is no way of getting to the fields at the bottom. I wonder why with the simulator you can have both things.
I think I found the proper way of fixing this: rather that disabling the "scroll" action we need to disable the "bounce" action.
Yes, agreed.
We need a Full-Screen-Content page that is scrollable and swipeable and does not bounce. https://developer.apple.com/documentation/uikit/uipageviewcontroller?language=objc
This has been fixed with commit ac77890e0e341d370
Whenever there is am "Hamburger" the view should be swipeable.