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.

selectedItem isn't set when rendered in the background #52

@samuelli

Description

@samuelli

Description

Some attributes aren't set correctly when iron-pages is rendered in the background.

Expected outcome

If you inspect iron-pages, selectedItem should be the selected item.

Actual outcome

If you inspect iron-pages, selectedItem is undefined, even though the page is selected correctly.

Live Demo

https://jsfiddle.net/stu9rxxg/1/

Steps to reproduce

  1. Open demo link in new tab
  2. Wait for it to load before clicking on the tab
  3. Inspect iron-pages.selectedItem

Can also repro by quickly opening the page, tabbing away before iron-pages loads, and coming back after it has loaded.

Browsers Affected

Unsure about others

  • 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