Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iron list ist destroying layout #516

Open
8 tasks done
jogibear9988 opened this issue Mar 27, 2018 · 1 comment
Open
8 tasks done

iron list ist destroying layout #516

jogibear9988 opened this issue Mar 27, 2018 · 1 comment

Comments

@jogibear9988
Copy link

jogibear9988 commented Mar 27, 2018

Description

If I scroll down in my iron list, all items are at one place

Issue

Iron List uses every time the first item to calculate the items size, see:

this._rowHeight = this._physicalCount > 0 ? this._physicalItems[0].offsetHeight : 200;

problem is, if the first item in this list is invisible, the offsetWidth and Height are "0"

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@jogibear9988
Copy link
Author

jogibear9988 commented Mar 27, 2018

2018-03-27 14_42_53-developer tools - http___10 0 100 132_8088_index-orginal html
2018-03-27 14_43_06-developer tools - http___10 0 100 132_8088_index-orginal html

see offsetHeight is 0 (even if the computed style is not "0")

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

No branches or pull requests

1 participant