Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Clicking on a button in IE8 causes a PlaceChangeEvent #331

Open
mrsvan opened this issue Feb 6, 2013 · 4 comments
Open

Clicking on a button in IE8 causes a PlaceChangeEvent #331

mrsvan opened this issue Feb 6, 2013 · 4 comments
Assignees
Milestone

Comments

@mrsvan
Copy link

mrsvan commented Feb 6, 2013

GWTBootstrap implements its buttons as elements with an href.

When you click on a button in IE8, the click event propagates into a PlaceChangeEvent which messes up the whole Activity/Places workflow.

In order to prevent the event propagation, I must manually add "event.preventDefault()" to my ClickHandlers.

This bug does not appear on more recent WebKit browsers.

Would it be possible to add preventDefault() to GWTBootstrap's internal implementation of Button?

@soundTricker
Copy link
Member

Hi @mrsvan.
Umm...
I guess this fix plan has some problem.
If we add preventDefault within ClickHandler as default beheiber of Button, happen another problems.
I'll think another plan of this.

@ghost ghost assigned soundTricker Feb 8, 2013
@komasoftware
Copy link
Contributor

@mrsvan only IE8 ? I noticed the Places/Activities problems on IE9 too, but did not investigate further.

@mrsvan
Copy link
Author

mrsvan commented Feb 13, 2013

Hello Koen,

I did not investigate any further either - adding preventDefault() solved
my IE8 problem, so I left it at that.

BR,

Stefaan

Stefaan Vanderheyden

On Wed, Feb 13, 2013 at 11:22 AM, Koen [email protected] wrote:

@mrsvan https://github.com/mrsvan only IE8 ? I noticed the
Places/Activities problems on IE9 too, but did not investigate further.


Reply to this email directly or view it on GitHubhttps://github.com//issues/331#issuecomment-13482643.

@BAVhel
Copy link

BAVhel commented Aug 4, 2015

probably it's related to bug #481

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants