Open tiagotwistag opened 2 years ago
I also get the same issue. I think its a great idea to create a PR with your fix!
+1. You should provide a PR
I have the same issue! A PR would be great!
yup open a PR, same issue!!
+1 PR needed
+1, content scroll behind tabbar when minHeaderHeight
is provided
Fixed by #307
But this issue occurs on android too.
Still facing this issue on android when minHeaderHeight
is provided.
Please reopen this issue.
PR welcome.
PR welcome.
Your demo app with minHeaderHeight
on android will reproduce this issue
While configuring the tabs.container to allow a minHeaderHeight I noticed that I was able to scroll past the content, this means I was able to keep scrolling even if I didn't had more content, I also noticed that the amount of scroll I was able to go past was exactly the minHeaderHeight value. After some testing I updated the useCollapsibleStyle hook to take into consideration the minHeaderHeight for the minHeight calculation
Here's a demo of the version 4.5.2:
https://user-images.githubusercontent.com/88672357/158640029-616ec99a-88db-42e9-82aa-48f664fe9111.MP4
And here the demo of the version 4.5.2 with the fix:
https://user-images.githubusercontent.com/88672357/158640045-9fb86b46-05d6-401f-ae50-4f53863cde3e.MP4
Here's a quick diff(the changes were applied on the builded code since I needed a patch)
I was about to open a PR but I'm not sure if such changes can break other things, so let me know about it