Skip to content

List invisible untill scrolling #6

@avishayil

Description

@avishayil

Image of invisible
Attached screenshot with inspector.
The tab view is react-native-tab-view by satya164:
https://github.com/react-native-community/react-native-tab-view

When starting to scroll, the list appears as usual.
RN 0.29.2.

Tried changing ScrollView to View, same behavior.

code:

            <View>
                <ScrollView>
                    <MultipleChoice
                        ref="Subjects"
                        options={this.state.subjects}
                        selectedOptions={this.state.checked}
                        onSelection={(option)=>console.log(option + ' was selected!')}
                    />
                </ScrollView>
            </View>

Update: tried also to add contentInset and automaticallyAdjustContentInsets to ListView, didn't seem to work.

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