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

flex content inside swipeable panel #87

Open
lianeddy opened this issue May 4, 2021 · 5 comments
Open

flex content inside swipeable panel #87

lianeddy opened this issue May 4, 2021 · 5 comments

Comments

@lianeddy
Copy link

lianeddy commented May 4, 2021

i cant seem to create a view with full height using {flex: 1}. is there a way to do this without using the height property?

@seyaobey-dev
Copy link

Same here, I'm facing the same issue.

@isaachinman
Copy link

Anyone ever find a solution here?

@isaachinman
Copy link

Fairly sure it's due to this TouchableHighlight. Is that true, @enesozturk?

@enesozturk
Copy link
Owner

Yes, it's probably because of that. But we have to do like so. If the content will be scrollable (which may be longer than default panel height) we cannot make it full height with flex: 1, but if not, you can use canScroll: false.

@rogorman9
Copy link

I know this is old, but that TouchableHighlight also breaks the stickyHeaderIndices prop in scrollViewProps, because the ScrollView only ever has a single child when it's scrollable.

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

5 participants