nuclearpasta / react-native-drax

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

DraxProvider should respect parent padding #10

Closed lafiosca closed 4 years ago

lafiosca commented 4 years ago

Currently DraxProvider uses an absoluteFill to fill its parent view entirely. This means that it does not respect the parent's padding, which can be bad in some cases (e.g., when using certain implementations of SafeAreaView). Let's change it to use flex: 1 instead.