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

fix(row-height): protect row undefined #280

Merged
merged 1 commit into from
Nov 15, 2016
Merged

Conversation

deeg
Copy link
Contributor

@deeg deeg commented Nov 15, 2016

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

When determining the row height, if using virtual scrolling the row might not be loaded yet.

When checking if the row is expanded the row may not be loaded yet.

There is also an issue here where you determine the height. If using paging from the server, you need to use total count, not the length of the rows to determine the height. I plan to fix that in another PR.

What is the new behavior?

Protect against the row not being loaded, by assuming it is not expanded.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@amcdnl amcdnl merged commit b0fdc60 into swimlane:master Nov 15, 2016
@amcdnl amcdnl added the Bug label Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants