Skip to content

Simply not working in 2.0 #31

@iSuslov

Description

@iSuslov

Polymer.IronResizableBehavior not working. No documentation. App crashes when use it like this:
Polymer.mixinBehaviors([Polymer.IronResizableBehavior], Polymer.Element)


iron-resizable-behavior.html:86 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at HTMLElement.notifyResize (iron-resizable-behavior.html:86)
    at HTMLElement._notifyDescendant (iron-resizable-behavior.html:180)
    at HTMLElement._onIronRequestResizeNotifications (iron-resizable-behavior.html:160)
    at HTMLElement.handler (template-stamp.html:92)
    at HTMLElement.fire (legacy-element-mixin.html:338)
    at HTMLElement._requestResizeNotifications (iron-resizable-behavior.html:201)
    at HTMLDocument.readystatechanged (iron-resizable-behavior.html:198)
notifyResize @ iron-resizable-behavior.html:86
_notifyDescendant @ iron-resizable-behavior.html:180
_onIronRequestResizeNotifications @ iron-resizable-behavior.html:160
handler @ template-stamp.html:92
fire @ legacy-element-mixin.html:338
_requestResizeNotifications @ iron-resizable-behavior.html:201
readystatechanged @ iron-resizable-behavior.html:198
iron-resizable-behavior.html:86 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:33)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:84:16)
    at Array.forEach (native)
    at HTMLElement._notifyDescendantResize (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:82:34)
    at HTMLElement.resetLayout (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:65:12)
    at HTMLElement._appResetLayoutHandler (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:35:12)
    at HTMLElement.handler (http://127.0.0.1:8001/components/polymer/lib/mixins/template-stamp.html:92:28)
    at HTMLElement.fire (http://127.0.0.1:8001/components/polymer/lib/legacy/legacy-element-mixin.html:338:14)
    at http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:74:14
notifyResize @ iron-resizable-behavior.html:86
_notifyDescendant @ iron-resizable-behavior.html:180
(anonymous) @ app-layout-behavior.html:84
_notifyDescendantResize @ app-layout-behavior.html:82
resetLayout @ app-layout-behavior.html:65
_appResetLayoutHandler @ app-layout-behavior.html:35
handler @ template-stamp.html:92
fire @ legacy-element-mixin.html:338
(anonymous) @ app-layout-behavior.html:74
iron-resizable-behavior.html:86 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:33)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:88:16)
    at Array.forEach (native)
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:34)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:84:16)
    at Array.forEach (native)
    at HTMLElement._notifyDescendantResize (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:82:34)
    at HTMLElement.resetLayout (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:65:12)
notifyResize @ iron-resizable-behavior.html:86
_notifyDescendant @ iron-resizable-behavior.html:180
(anonymous) @ iron-resizable-behavior.html:88
notifyResize @ iron-resizable-behavior.html:86
_notifyDescendant @ iron-resizable-behavior.html:180
(anonymous) @ app-layout-behavior.html:84
_notifyDescendantResize @ app-layout-behavior.html:82
resetLayout @ app-layout-behavior.html:65
_appResetLayoutHandler @ app-layout-behavior.html:35
handler @ template-stamp.html:92
fire @ legacy-element-mixin.html:338
(anonymous) @ app-layout-behavior.html:74
iron-resizable-behavior.html:86 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:33)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:84:16)
    at Array.forEach (native)
    at HTMLElement._notifyDescendantResize (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:82:34)
    at HTMLElement.resetLayout (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:65:12)
    at HTMLElement._appResetLayoutHandler (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:35:12)
    at HTMLElement.handler (http://127.0.0.1:8001/components/polymer/lib/mixins/template-stamp.html:92:28)
    at HTMLElement.fire (http://127.0.0.1:8001/components/polymer/lib/legacy/legacy-element-mixin.html:338:14)
    at http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:74:14
notifyResize @ iron-resizable-behavior.html:86
_notifyDescendant @ iron-resizable-behavior.html:180
(anonymous) @ app-layout-behavior.html:84
_notifyDescendantResize @ app-layout-behavior.html:82
resetLayout @ app-layout-behavior.html:65
_appResetLayoutHandler @ app-layout-behavior.html:35
handler @ template-stamp.html:92
fire @ legacy-element-mixin.html:338
(anonymous) @ app-layout-behavior.html:74
iron-resizable-behavior.html:86 Uncaught TypeError: Cannot read property 'forEach' of undefined
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:33)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:88:16)
    at Array.forEach (native)
    at HTMLElement.notifyResize (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:86:34)
    at HTMLElement._notifyDescendant (http://127.0.0.1:8001/components/iron-resizable-behavior/iron-resizable-behavior.html:180:18)
    at HTMLElement.<anonymous> (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:84:16)
    at Array.forEach (native)
    at HTMLElement._notifyDescendantResize (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:82:34)
    at HTMLElement.resetLayout (http://127.0.0.1:8001/components/app-layout/app-layout-behavior/app-layout-behavior.html:65:12)

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