Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was 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

@jodekirk

Description

@jodekirk

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();
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions