Hi Juan,

AFAIK GWT 2.8 will have jsinterop and elemental so the native
scrollIntoView() will be used automatically.

I don't have a problem to file a bug report in GWT but I thought I should
ask first here about the reasoning of the current status.

Submitting a patch looks considerably more scary but I can try if there is
a consensus that this is indeed a bug and not a desired behavior.


On Tue, Jan 26, 2016 at 10:45 PM, Juan Pablo Gardella <
[email protected]> wrote:

> Hi Virviis,
>
> Could you file a bug and the fix? It will be great to include in gwt 2.8.0
>
> Thanks
>
> On Tue, 26 Jan 2016 at 14:25 Vassilis Virvilis <[email protected]> wrote:
>
>> Hi,
>>
>> I was using scrollIntoView() when I hit the bug.
>>
>> In pages of mine GWT.scrollIntoView() is working in all major browsers.
>>
>> In a foreign page GWTscrollIntoView() fails (does nothing) in chrome. It
>> however works in IE and firefox.
>>
>> Looking at the implementation I found a custom implementation of
>> scrollIntoView.
>>
>> I was expecting that GWT would call the native element.scrollIntoView().
>>
>> I changed my code to call the native scrollIntoView() via JSNI and it
>> works in both pages in all browsers.
>>
>> So does anybody know why GWT 2.7 has a custom scrollIntoView()
>> implementation?
>>
>>
>> --
>> Vassilis Virvilis
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to