brh55 / react-native-masonry

:raised_hands: A pure JS react-native component to render a masonry~ish layout for images with support for dynamic columns, progressive image loading, device rotation, on-press handlers, and headers/captions.
MIT License
1.32k stars 157 forks source link

Adding onPress support for header and footer #68

Closed mohammedpascal closed 6 years ago

mohammedpascal commented 6 years ago

Hi, thanks for the awesome component!

I am working on a project and I want to be able to press on footer as well, but when I add onPress to the footer doesn't work for some reason, can you please help?

brh55 commented 6 years ago

@mohammedpascal Hmm I don't see why it wouldn't work considering the footer and headers render verbatim, what is your existing mark up?

brh55 commented 6 years ago

@mohammedpascal hopefully you figured this out, will close :)