NSScrollView does not scroll horizontally at all when hasHorizontalScroller = false
| Originator: | jbasch94 | ||
| Number: | rdar://22791857 | Date Originated: | 9/21/15 |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | 10.11 (15A282b) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: NSScrollView does not scroll horizontally when its hasHorizontalScroller is set to false. The documentation indicates that this property only controls the visibility/existence of a horizontal scroller, not the NSScrollView's ability to scroll horizontally altogether. Steps to Reproduce: 1. Create NSScrollView with documentView that should be horizontally scrollable 2. Set hasHorizontalScroller = false 3. Build and run, attempt to scroll horizontally Expected Results: NSScrollView scrolls horizontally, but does not show horizontal scroller Actual Results: NSScrollView does not scroll horizontally at all Version: OS X 10.11 (15A282b) Notes: If this is the intended behavior—which, if it is the case, is severely limiting—the hasHorizontalScroller property is severely misnamed and the documentation wholly incorrect. "canScrollHorizontally" would be a more appropriate name in that case.
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!