BearStudio/react-native-ficus-ui

The ScrollBox is not occupying the full available space

omar-bear opened this issue · 0 comments

Description

There is an issue with the ScrollBox component: it is unable to occupy the full screen as a ScrollView without resorting to the use of minH, which is not an ideal solution.

In contrast, with the React Native ScrollView component, we can achieve this as shown below:

    <ScrollView
      contentContainerStyle={{ flexGrow: 1 }}
      {...rest}
    >
      {children}
    </ScrollView>

Expected Behavior

The ScrollBox should occupy the entire available space.

Actual Behavior

The ScrollBox is not occupying the full available space.