branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

autocomplete in DialogBox, PlaceChangeMapEvent didnt occur #214

Open ghost91pl opened 10 years ago

ghost91pl commented 10 years ago

Hi Bran,

At first i would like to say that you made an awesome work!

Ok so i noticed that when i use code from your autocomplete example and put the AutoCompletePlacesMapWidget in rootPanel it works fine but when i put that Widget into DialogBox the suggesting function works but when i click on one of the suggestion nothing happens.

I'm not able to provide any additional info like stacktrace etc. because i dont know how ;) I'm beginner in GWT so i will be very glad if u provide for me some workaround.

twistedpair commented 10 years ago

@ghost91pl thanks for the report.

When you have the unusual behavior, do you see any output in the JS console? Just hit F12 in Chrome and then load the page. If there are any errors, you should get something there. Cheers.

skyl commented 10 years ago

I'm experiencing the same thing. The click handler is what does not work. Selection of the autocomplete by keyboard still works in the dialog.

Nothing is in the JS console in chrome. Seems the click event just doesn't fire on the suggestions.

https://gist.github.com/skyl/de647abf051083c3a85c

twistedpair commented 10 years ago

@skyl Thanks for the details. I'll dig into this soon when I've got a free evening. Since your gist is identical to the Showcase, I'd certainly expect it to work. Let me dig into this.