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(ios): Layout children when reusing cell #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcassidyav
Copy link
Contributor

If you have for example a Label that on slide 4 becomes two lines where as on slide 1-3 it is one line, when slide 4 is shown it will be truncated because the the view has not been re-layed out for the new data.

If on line:

if (!owner.iosOverflowSafeAreaEnabled && cellView && cellView.isLayoutRequired) {

The check for iosOverflowSafeAreaEnabled is removed, then the View.layoutChild is called and all appears to be well.

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

Successfully merging this pull request may close these issues.

1 participant