GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to enter chars 'k' or 'm' in any input after dragging the map.. Weird bug.

yairopro opened this issue · comments

commented

This is a really weird bug.
Here's a jsFiddle to try it.

Instructions
First drag a little the map.
Then try to write the char k or m in the input above. You won't be able to.

i have a same issue for this

maybe u can enable this property for solving this issue, if u don't use the controls
disable-default-ui="true"

i'v forked ur jsFiddle and u can see this

Or u can set keyboardShortcuts to be false, and u can use default UI as ur controllers, but u can't use keybinding as controller, see this jsFiddle

This is a bug in the underlying Maps API when in Shadow DOM: https://issuetracker.google.com/issues/73644075

The only workaround I've found is to disable keyboard keyboardShortcuts: false and re-implement them.

Possible dupe of #415

commented

Yes it looks like