Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Make screenHeight configurable #77

Open
violabg opened this issue Mar 22, 2018 · 0 comments
Open

Make screenHeight configurable #77

violabg opened this issue Mar 22, 2018 · 0 comments

Comments

@violabg
Copy link

violabg commented Mar 22, 2018

I'm trying to use this component in a tab view, so I have navigation bar on to has header and a footer with tabs.
since you set the screenHeight of PhotoBrowser to the window.height, the height is too tall for the view where I'm rendering the component, and the images are not centred properly.
You should make screenHeight configurable, or use its parent height and not window.height.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant