Changeset [b9d2927368716f67e0062ae22dcb6121b2d987b9] by Alexander Ljungberg

March 23rd, 2011 @ 06:14 PM

Fixed: web views with CPWebViewScrollAuto would reload after determining which scrollbars to use. The new solution makes a best effort attempt to determine this ahead of loading, avoiding reloads.

The problem in particular is that we can't change from AppKit to Native scrollbars or vice versa once an iframe has been loaded. Until we find a way to do so, this less flexible solution will have to do. Note that if the loaded URL passes the SOP, but the content contains links to URLs which do not pass the SOP which can be brought up in the web view, CPWebViewScrollAuto will not work correctly and CPWebViewScrollNative should be used instead.
https://github.com/280north/cappuccino/commit/b9d2927368716f67e0062...

Committed by Alexander Ljungberg

  • M AppKit/CPCompatibility.j
  • M AppKit/CPWebView.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins