Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed width and height #36

Open
ahmedmesawer opened this issue Jul 27, 2020 · 0 comments
Open

Fixed width and height #36

ahmedmesawer opened this issue Jul 27, 2020 · 0 comments

Comments

@ahmedmesawer
Copy link

I have to set a fixed number to width and height to make shadow appears as I need but if the content of the shadow view is dynamic and expanding depending on the data it gets out of the shadow view

I overcame the width problem by using const windowWidth = useWindowDimensions().width; and set the width of shadow view as a percentage of windowWidth but height can't be treated like that

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

No branches or pull requests

1 participant