-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
in conjunction with minPresenceAhead
does not work as expected
#2238
Comments
Although I had difficulty putting both |
And just in case someone else runs into a similar problem, my browser would sometimes lock up when I tried to mix |
@dylnclrk I checked out your "Fixed REPL link" but it appears that its the same link as your original post (which repliaces the error).
I tried following your instructions for the fix but am not seeing a difference on my end. Do you remember what your fix looked like? Something like this?
|
I don't remember exactly, but I think what I did was similar to what you have. But the minPresenceAhead view was a sibling to a wrapper around the fixed content:
|
I have implemented a fix for this in #2400. This PR primarily fixes the locking up which you described, but I happened to also fix the problem with |
I had a similar issue with using |
Also just noticed that even when |
Describe the bug
Using
minPresenceAhead
on afixed
component does not work as expected.To Reproduce
<View style={{height: 600}}/>
fixed
andminPresenceAhead
to the header.minPresenceAhead
rule is not obeyed. But it is obeyed iffixed
is removed.Repl link
Click to see REPL Link if above link doesn't work
Expected behavior
I want to be able to have fixed headers that appear above multi-page content. But which also does not appear by itself.
Screenshots
Actual:
Expected:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: