3.0 beta 2

Safari scroll jump problem

When I click a row in the grid the vertical scrollbar jumps up, far enough that the row I selected is out of view, all these Safari bugs are getting ridiculous, any ideas for this one would be massively appreciated.
Safarihater
October 31,
Which version of AW and which version of Safari?
Alex (ActiveWidgets)
October 31,
2.0. It worked well enough with Safari 2 (with minor annoyances, we realize you don't support it yet) but when 3 came out recently we noticed this problem, click on a row and the scroll jumps, weird. Any ideas at all? Thanks.
Safarihater
October 31,
Well, AW 2.0 never worked on Safari, so if you need Safari support - wait until AW 2.5. If you are looking for a quick fix - try to correct AW 2.0 browser detect code. Safari 3.0 is incorrectly identified by AW 2.0 as Firefox, because of the new _defineGetter__ method (line 20 in /source/lib/browsers/detect.js). Here is the working code from AW 2.5 -

if (document.recalc) {AW.browser = "ie"}
    if (window.__defineGetter__) {AW.browser = "gecko"} // !!!
    if (window.opera){AW.browser = "opera"}
    if (navigator.userAgent.match("WebKit")){AW.browser = "safari"}
Alex (ActiveWidgets)
October 31,
Thanks a lot, we will give it a shot.
Safarihater
October 31,
That was it, Alex you are awesome, can't wait for 2.5!
Safarihater
October 31,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.