Skip to content

Pass on contentContainerStyle #55

Open
@mmelitzer

Description

@mmelitzer

It should be possible to set the custom content container styling for the List/ScrollView from the outside.
Although the props are copied over the contentContainerStyle is set again later and therefore overwriting it. IMHO it should be enough to simply change (works perfectly fine):
contentContainerStyle={this.getContentContainerStyle()}
to
contentContainerStyle={[this.getContentContainerStyle(), this.props.contentContainerStyle]}

in ControlledRefreshableListView without adding a separate prop as the ListView doesn't expose the prop either but instead simply copies it down to the ScrollView.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions