Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Setting the active attribute of a paper-button inserted into a slot using setAttribute requires calling it twice before it is updated. #169

@eriklumme

Description

@eriklumme

Description

Imperatively setting the active attribute of a paper-button inserted into a slot requires setting it twice before it is updated.

Expected outcome

The attribute is updated the first time.

Actual outcome

The attribute is not updated until the second time.

Live Demo

https://jsbin.com/lalarivoli/1/edit?html,console,output

Steps to reproduce

  1. Create a Polymer element with a slot.
  2. On ready(), set the active attribute of the <paper-button> in the slot to true.
  3. Create a parent element that holds the child element and inserts a <paper-button> into the slot.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

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