-
Notifications
You must be signed in to change notification settings - Fork 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
Fix error state of lists of not taking the full height #6236
Fix error state of lists of not taking the full height #6236
Conversation
… its content height
is this for the same issue as #6235 or a different one? |
I'd say they are not necessarily the same, but they are definitely related. I was actually about to test my changes on mobile devices, but I couldn't quite figure out how to navigate to the But for now, it seems we need to get rid of I can investigate more if someone can help me navigate to |
Alright, so I was able to debug it on my real Android device via deep link. It seems we don't necessarily need social-app/src/components/Lists.tsx Line 179 in 57464a8
However, it's required to add So, in summary, I think having This is what the mobile empty state looks like on this PR, and it seems to be the desired behavior. |
I seems this PR has a conflict now, and it needs to be rebased off of the main branch. However, if I force push after rebase, I believe it will clear the chat history. Please advise what's the best way to deal with it. Thanks! |
Hi - just rebase, I'm happy to merge this once there are no conflicts! |
I am sorry, but I am not really familiar with Please advise if there is anything left for me to do. Is it okay to rebase off of |
no I just fixed the conflicts manually! nothing to do. thanks for the contribution! |
Fixes #6226
Summary
It seems there was an inconsistency between the loading state and error/empty state styles in the code. Specifically, the loading state has a.h_full_vh, whereas error/empty state doesn't. Instead, it has
a.flex_1
which sets the view height to its content height.Solution
Updated
Error
component to havea.h_full_vh
in its style.Screenshots