PeterBenko opened a new issue, #1244:
URL: https://github.com/apache/cordova-ios/issues/1244

   # Bug Report
   
   ## Problem
   The same code that worked as expected on iOS 15 seems to now be broken on 
the latest iOS 16 public beta. DisallowOverscroll used to successfully prevent 
the full app from bouncing, but on iOS 16 seems to have no effect.
   
   
   ### What is expected to happen?
   The full app should not bounce on scroll.
   
   
   ### What does actually happen?
   The app bounces on scroll
   
   
   
   ## Information
   We have investigated the issue and it seems like [setting the scrollView 
bounces to 
NO](https://github.com/apache/cordova-ios/blob/f12abcc9973fd0618ddc8999df3fa2e96468ecf1/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m#L392)
 doesn't fulfill its purpose anymore. 
   
   This would imply a change on iOS 16 side, but it is unclear if this is a bug 
or the new intended behaviour and thus a necessary change for cordova-ios.
   
   Note:
   We could fix the issue in our application by additionally setting 
`alwaysBounceVertical` to `NO` but [this doesn't align with Apple's 
documentation](https://developer.apple.com/documentation/uikit/uiscrollview/1619383-alwaysbouncevertical?language=objc).
 The fix did however not work on a clean cordova-ios project so there must be 
some other factor to this that we could not yet determine.
   
   ### Command or Code
   The issue is reproducible with the base Cordova iOS app, with the 
"DisallowOverscroll" config set to TRUE: the same application behaves 
differently on iOS 15 than on iOS 16 when scrolling (at least for vertical 
scrolls).
   
   ### Environment, Platform, Device
   iOS 16, iPad
   
   ### Version information
   cordova 11.0
   cordova-ios 6.2.0 
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to