|
I am using a SectionList with stickySectionHeadersEnabled={true}. Whenever I click a list item (image), navigate with bounds({ id }).navigation.zoom(...) to the details page and navigate back, the sticky header is covered by the image and not visible anymore. Seems to be caused by something like z-index? When I click another image, the first image is behind the sticky header again but the new one is covering it. Am I missing something here or is it a bug? But assuming it works, I have another problem. If I navigate back, the header would appear instantly. I've been wondering if theres a way to make the header appear more smoothly, pergaps slide or fade. |
Replies: 2 comments 6 replies
|
We're using zIndex of 999 for the src component. I should mention this in the docs, but it's a way to avoid the look of it animating underneath its layout constraints. I think I should make this into an option tho in zoom(...). |
|
Just an update, style reset has improved however zIndex seems to be the wrong solution here for bound transitions. I think in the next release I'll work something in with react-native-teleport which should make things look much better |
Just an update, style reset has improved however zIndex seems to be the wrong solution here for bound transitions. I think in the next release I'll work something in with react-native-teleport which should make things look much better