paper-stepper icon indicating copy to clipboard operation
paper-stepper copied to clipboard

2.0 beta2 :iron-a11y-keys-behavior.html:419 Uncaught TypeError: Cannot read property 'length' of undefined

Open sowsan opened this issue 9 years ago • 6 comments

Look like 2.0 beta2 has the same issue mentioned in issue #12

image

iron-a11y-keys-behavior.html:419 Uncaught TypeError: Cannot read property 'length' of undefined

sowsan avatar Aug 08 '16 19:08 sowsan

Line 419 of the last iron-a11y-keys-behavior doesn't seem to match Cannot read property 'length' of undefined so I guess you use an old version and maybe face this issue. Can you show your bower dependencies? @jamesmgg you triggered this issue before can you reproduce now?

Zecat avatar Aug 08 '16 21:08 Zecat

I'm currently not using paper-stepper anymore, so I haven't tested it... All I know is that not using shadow DOM (and using Shady DOM instead) fixes the error.

jamesmgg avatar Aug 08 '16 22:08 jamesmgg

FYI - issue is there with 2.0 beta3 as well.

sowsan avatar Aug 09 '16 16:08 sowsan

Can you show your bower.json file ?

Zecat avatar Aug 10 '16 00:08 Zecat

{ "name": "paper-stepper", "version": "2.0-beta.3", "authors": [ "Zecat [email protected]" ], "description": "Material paper-stepper element.", "keywords": [ "web-component", "polymer", "seed" ], "main": "paper-stepper.html", "license": "http://polymer.github.io/LICENSE.txt", "homepage": "https://github.com/zecat/paper-stepper/", "ignore": [ "/.", "/test/" ], "dependencies": { "polymer": "Polymer/polymer#^1.2.0", "paper-button": "PolymerElements/paper-button#^1.0.11", "iron-icons": "PolymerElements/iron-icons#^1.1.3", "paper-styles": "PolymerElements/paper-styles#^1.1.4", "paper-ripple": "PolymerElements/paper-ripple#^1.0.5", "iron-selector": "PolymerElements/iron-selector#^1.3.0", "iron-icon": "PolymerElements/iron-icon#^1.0.8", "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.3.1", "neon-animation": "PolymerElements/neon-animation#^1.1.1", "iron-validatable-behavior": "PolymerElements/iron-validatable-behavior#^1.0.5", "iron-collapse": "PolymerElements/iron-collapse#^1.2.0" }, "devDependencies": { "paper-input": "PolymerElements/paper-input#^1.1.10", "paper-material": "PolymerElements/paper-material#^1.0.6", "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", "web-component-tester": "", "iron-form": "PolymerElements/iron-form#^1.0.16", "iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.2.2" } }

sowsan avatar Aug 10 '16 15:08 sowsan

In my bower.json , im using the below to get the paper-stepper

"paper-stepper": "Zecat/paper-stepper#2.0-beta.3"

sowsan avatar Aug 10 '16 15:08 sowsan