Tuesday, January 26, 2016

Re: GWT custom scrollIntoView() implementation

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 <vasvir2@gmail.com> 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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment