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

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

Open
1 of 8 tasks
samuelli opened this issue Oct 7, 2016 · 2 comments
Open
1 of 8 tasks

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

samuelli opened this issue Oct 7, 2016 · 2 comments

Comments

@samuelli
Copy link
Contributor

samuelli commented Oct 7, 2016

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
@ymaz
Copy link

ymaz commented Aug 17, 2017

Hi, does PolymerElement have plans to resolve this issue in near future? Thanks

@HJK181
Copy link

HJK181 commented Feb 13, 2018

Over one year old a no comments?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants