dropbox / dropbox/pilot

Let a `CollectionSupportingView` invalidate its own layout

Open
#115 0 comments 0 reactions 1 assignee Claimed by @alanjrogers View on GitHub
enhancement
Dominant language
Swift
Stars
113
Forks
19
PR merge metrics
No merged PRs in 30d

Description

It would be great to allow a `CollectionSupportingView` to be able to invalidate it's own layout in response to some view state that changes it's bounds.

Eg. a input text field that grows in height as the user types.

See https://github.com/dropbox/pilot/pull/102 for a naive implementation.

That implementation needs 2 things to be generally useful in pilot:
1. It should only invalidate the layout of the single view (not the whole CV)
1. It should have a more robust way of getting a reference to the collectionView.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.