nuclearpasta / react-native-drax

A drag-and-drop system for React Native
MIT License
554 stars 69 forks source link

Apply `DraxScrollView`'s `style` to outer `DraxView` instead of inner `ScrollView` #119

Closed lafiosca closed 3 years ago

lafiosca commented 3 years ago

A ScrollView normally accepts a style for the outer wrapper and a contentContainerStyle for its content item layout. DraxScrollView passes style to the underlying ScrollView, but it is wrapped by an outer DraxView which is not stylable. DraxList already passes the style prop to the outer DraxView, so update DraxScrollView to do that as well.