googlearchive / polymer-gestures

84 stars 28 forks source link

Error when trying to mix Polymer controls with standard html 5 inputs #68

Open jeffthompson1971 opened 9 years ago

jeffthompson1971 commented 9 years ago

My tech stack is Appgyver Steroids app with Ionic. I'm pulling in the paper elements cuz I like them. BUT not all controls are there, like a date picker. When I put in a standard date input (just html5) when I click it I get an error in polymer. Is there any way I can put a catch in there so it's just ignored? I'd like to be able to co-mingle paper components and just standard html5.

my input:

the error: [Error] UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0: The Event's type was not specified by initializing the event before the method was called. dispatchEvent ([native code], line 0) dispatchEvent (platform.js, line 13) dispatchEvent (polymer.js, line 11) fireEvent (polymer.js, line 11) up (polymer.js, line 11) up (polymer.js, line 11) processTouches (polymer.js, line 11) touchend (polymer.js, line 11) (anonymous function) ([native code], line 0) eventHandler (polymer.js, line 11) (anonymous function) ([native code], line 0) s (platform.js, line 12) r (platform.js, line 12) o (platform.js, line 12) m (platform.js, line 12)

NOTE that I get this error when I attempt to use any form element in same page where i've loaded your platform.js and use paper components.

budda commented 9 years ago

I also get this error when including Ionic.js in to an Appgyver project. So maybe it's a problem with the Appgyver steroids / supersonic stuff instead?