-
Notifications
You must be signed in to change notification settings - Fork 3k
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 footer message overflow #8878
fix footer message overflow #8878
Conversation
bump @tgolen! |
Yeah, I don't know what to do. It can't be fixed? Seems like a strange way for it to wrap the text. If it can't be fixed, then maybe plan B would be to just remove the email address from the message entirely (this was an alternative mentioned in the original GH I believe). |
I think it's how ios native app wraps the text because on android it was working fine even without using breakAll.
I don't think that would be a good solution because that's only one case, we also show the email in some other cases (e.g. user merged his account or deleted his account) I will try to fix this on ios or will try to find a new approach, the worst case scenario would be to leave it as it is because I don't think most people have big emails also I think we show the user's name and we only show email when there's no name set at profile, right? |
Yeah, then I guess we just have to figure out how to fix that word wrapping.
…On Wed, May 11, 2022 at 3:07 AM Sahil ***@***.***> wrote:
Yeah, I don't know what to do. It can't be fixed? Seems like a strange way
for it to wrap the text. If it can't be fixed, then maybe plan B would be
to just remove the email address from the message entirely (this was an
alternative mentioned in the original GH I believe).
I don't think that would be a good solution because that's only one case,
we also show the email in some other cases (e.g. user merged his account or
deleted his account)
—
Reply to this email directly, view it on GitHub
<#8878 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMAB3RJ55YCXAGSYSOWVLVJN2GFANCNFSM5VDM3L2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I think we can't fix this. I tried adding different styles but nothing worked. To verify that it's not related to our code, I used cc: @tgolen |
@thesahindia Have you tried hard seetting |
@deetergp, It's not working for ios and also we are actually using |
@thesahindia I understand that it's not working for iOS. Unless I have misread this thread, we're saying that it currently looks right in Android but "wrong" (which is debatable) in iOS. The SO I linked says that by default Android uses |
Ah my bad, I wanted to say that I tried it but it didn't work. |
I think this wrapping is fine as it is and separate from what we were trying to fix here. I'm going to accept it and if we feel that something needs to be done about it, we can open another issue and put it out for proposals. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Okay 👍🏼 |
Ya, we should do that. Can you straight away put up an issue on GH? |
2 similar comments
🚀 Deployed to production by @yuwenmemon in version: 1.1.71-2 🚀
|
Details
The footer message flows out of the container when the email is long. This PR fixes that.
Fixed Issues
$ #8520
Tests | QA Steps
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Mobile Web
Desktop
iOS
Android