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

Fix jump in suggested follows tab on blur action (Native) #1844

Merged

Conversation

tarikfp
Copy link
Contributor

@tarikfp tarikfp commented Nov 8, 2023

ProfileCard item's description text jumps/flickers when blur action is executed on search input in suggested follows tab.

Android

android-suggested-follows-jump.mov

iOS

ios-suggested-follows-jumps.mov

Result

Apparently, alignSelf: 'baseline' is the root cause of this issue. To address this, we could replace baseline with flex-start which ultimately aligns avatar with user's name. Furthermore, we need to add necessary paddingTop to add spacing between description content and top content of the ProfileCard.

Android

android-suggested-follows-jumps-fix.mov

iOS

ios-suggested-follows-jumps-fix.mov

Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly huge, thanks so much

@pfrazee pfrazee merged commit 07afcab into bluesky-social:main Dec 3, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants