UIScrollView will scroll when scrollEnabled is false
| Originator: | davbeck | ||
| Number: | rdar://20507333 | Date Originated: | 10-Apr-2015 05:15 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 8.3 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: Setting scrollEnabled mostly disables scrolling. But it will snap back on several unrelated events. Steps to Reproduce: Programmatically set the offset outside of the user scrollable contentSize. For instance, if you want to scroll a subview so that it is flush with the top of the scrollView, lock the user from scrolling, and display some UI covering the rest of the scroll view. Expected Results: Nothing should change the offset except for an explicit programatic setting of the offset. Actual Results: Dragging on a view in front of the scroll view, toggling the keyboard, etc. will move the offset (without animation) so that it is confined to the bounds of the contentSize.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!