Skip to content

Adding items to array does not trigger _render call #107

@StefanGussner

Description

@StefanGussner

Description

When changing array data the change is not recognized until _requestRender() is called

Live Demo

https://glitch.com/edit/#!/bold-cuticle

Steps to Reproduce

  1. create my-element
  2. create an array property
  3. use the array property in the _render function
  4. add items to the array in an event listener function

Expected Results

The _render function is called

Actual Results

Nothing happens

Browsers Affected

  • Chrome
  • Firefox
  • [ ?] Edge
  • Safari 11
  • [? ] Safari 10
  • [ ?] IE 11

Versions

  • lit-element: v0.5.2
  • webcomponents: vX.X.X

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