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

add collapsableChildren to docs and add default value for collapsable #4365

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,19 @@ Represents the textual description of the component. Has precedence over the `te

Views that are only used to layout their children or otherwise don't draw anything may be automatically removed from the native hierarchy as an optimization. Set this property to `false` to disable this optimization and ensure that this `View` exists in the native view hierarchy.

| Type |
| ---- |
| bool |
| Type | Default |
| ------- | ------- |
| boolean | true |

---

### `collapsableChildren`

Setting to false prevents direct children of the view from being removed from the native view hierarchy, similar to the effect of setting `collapsable={false}` on each child.

| Type | Default |
| ------- | ------- |
| boolean | true |

---

Expand Down
16 changes: 13 additions & 3 deletions website/versioned_docs/version-0.76/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,19 @@ Represents the textual description of the component. Has precedence over the `te

Views that are only used to layout their children or otherwise don't draw anything may be automatically removed from the native hierarchy as an optimization. Set this property to `false` to disable this optimization and ensure that this `View` exists in the native view hierarchy.

| Type |
| ---- |
| bool |
| Type | Default |
| ------- | ------- |
| boolean | true |

---

### `collapsableChildren`

Setting to false prevents direct children of the view from being removed from the native view hierarchy, similar to the effect of setting `collapsable={false}` on each child.

| Type | Default |
| ------- | ------- |
| boolean | true |

---

Expand Down