Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

[C-475] Fix RemixesScreen header text alignment#1303

Merged
dylanjeffers merged 1 commit into
mainfrom
dj-c-475-fix-remixes-screen-header-text
May 11, 2022
Merged

[C-475] Fix RemixesScreen header text alignment#1303
dylanjeffers merged 1 commit into
mainfrom
dj-c-475-fix-remixes-screen-header-text

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Description

Fixes issue where long titles mess up RemixesScreen text wrapping

Before:
367B05C3-5FD2-481C-81D7-1B77BC47CAA0
After:
image

Learned that Pressable has a bug where it doesn't align well with text, the suggested workaround is to just use the onPress on Text components since we don't care about onPresIn, onPressOut: https://stackoverflow.com/questions/66590167/vertically-align-pressable-inside-a-text-component

@audius-infra

Copy link
Copy Markdown
Collaborator

@dylanjeffers dylanjeffers force-pushed the dj-c-475-fix-remixes-screen-header-text branch from 0395867 to 5925aed Compare May 11, 2022 01:32
@audius-infra

Copy link
Copy Markdown
Collaborator

@sliptype sliptype left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work!

Interesting about Pressable vs Text, although I think eventually we might want active styling on everything pressable

@dylanjeffers dylanjeffers merged commit 70cc31b into main May 11, 2022
@dylanjeffers dylanjeffers deleted the dj-c-475-fix-remixes-screen-header-text branch May 11, 2022 05:55
@sliptype sliptype mentioned this pull request May 13, 2022
@AudiusProject AudiusProject deleted a comment from linear Bot Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants