Changeset [2387cee799d779d2be71b1d2dcb5dadf49410e8d] by Alexander Ljungberg
March 5th, 2011 @ 03:50 PM
Fixed: web view AppKit scrollbars often did not reflect the true content size of the view.
The reason for this is that the size changes as the page
progressively loads, and this continues after the 'load' event
fired. For now, we use a simple timer to poll the size a few times
after loading. These polls are very bad for performance and battery
life so we terminate them quickly, meaning that the underlying
problem where the contents of the web view can get out of sync with
its scrollbars fundamentally remains - this fix merely alleviates
the problem.
https://github.com/280north/cappuccino/commit/2387cee799d779d2be71b...
Committed by Alexander Ljungberg
- M AppKit/CPWebView.j
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.