Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

paper-dropdown double-click causes Uncaught TypeError: Cannot read property 'position' of null #15

Open
jodekirk opened this issue Mar 24, 2015 · 0 comments

Comments

@jodekirk
Copy link

Double-clicking on the paper-dropdown causes an error:
Uncaught TypeError: Cannot read property 'position' of null
In the first if statement here:

resetTargetDimensions: function() {
var dims = this.dimensions;
var style = this.target.style;
if (dims.position.h_by === this.localName) {
style[dims.position.h] = null;
dims.position.h_by = null;
}
if (dims.position.v_by === this.localName) {
style[dims.position.v] = null;
dims.position.v_by = null;
}

  var style = this.sizingTarget.style;
  style.width = null;
  style.height = null;
  this.super();
},
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

1 participant