I'm trying the auto-complete on Opera 8.5. I know it is not officially
supported but it mostly works. Just one little problem: Opera seems to
have some issue with .scrollTop on a input control. I expect it to
report 0 but it report its current coordinate. So the update window goes
to a wrong location.

This is a block of code in Position.page
    
    page: function(forElement) {
    ...
    /*
    do {
        valueT -= element.scrollTop || 0;
        valueL -= element.scrollLeft || 0;
    } while (element = element.parentNode);
    */
    
If I comment out the valueT -= element.scrollTop stuff, the update position
perfectly in Opera. I wonder what that block of code is for?

wy
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to