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

feat(ios-list-view): introduce iosEstimatedRowHeight property. #5568

Merged
merged 2 commits into from
Mar 22, 2018

Conversation

ADjenkov
Copy link
Contributor

iosEstimatedRowHeight property sets estimatedRowHeight of the UITableView which forces the ListView to auto-measure its items.

Setting iosEstimatedRowHeight="0" can easily resolve issue

@ADjenkov ADjenkov self-assigned this Mar 20, 2018
@ghost ghost added the in progress label Mar 20, 2018
@manoldonev manoldonev added this to the 4.0 milestone Mar 21, 2018
@@ -340,7 +340,7 @@ export class ListView extends ListViewBase {
return height;
}

return DEFAULT_HEIGHT;
return this.ios.estimatedRowHeight;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems within the class we are using this._ios vs this.ios.

@ADjenkov ADjenkov merged commit 52c0448 into master Mar 22, 2018
@ghost ghost removed the in progress label Mar 22, 2018
@ADjenkov ADjenkov deleted the djenkov/list-view-measure branch March 22, 2018 12:03
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] ListView on initial load not displaying last item
2 participants