You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$1000] Web - The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text. #22455
Send a message and open a thread for that message, or Navigate to the assigned task chat.
Hover over the header of the chat.
Observe that the clickable area is stretched beyond the link text.
Expected Result:
The clickable area shouldn't be stretched beyond the blue link text.
Actual Result:
The clickable area is stretched beyond the link text.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.38-0. Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
Please re-state the problem that we are trying to solve in this issue.
The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.
What is the root cause of that problem?
In this PR (see line 196) styles that are needed for limiting the width of parent chat (parentNavigationSubtitle) were removed by mistake from the HeaderView component.
What changes do you think we should make in order to solve the problem?
We need to add the following styles back to PressableWithoutFeedback after line 196 in the HeaderView component -
style={[styles.alignSelfStart,styles.mw100]}
If we just add alignSelfStart then text will overflow on small screens as visible in result video below so we need to add mw100 (max-width: 100%) too.
What alternative solutions did you explore? (Optional)
changed the title [-]Web - The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.[/-][+][$1000] Web - The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.[/+]on Jul 10, 2023
Activity
ahmedGaber93 commentedon Jul 7, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.
What is the root cause of that problem?
The
PressableWithoutFeedbackdisplay in default style as a block and align self stretchApp/src/components/AvatarWithDisplayName.js
Lines 94 to 107 in 58f663a
What changes do you think we should make in order to solve the problem?
We need to add style
style={[styles.alignSelfStart]}toPressableWithoutFeedbackhereApp/src/components/AvatarWithDisplayName.js
Lines 94 to 100 in 58f663a
What alternative solutions did you explore? (Optional)
N/A
melvin-bot commentedon Jul 7, 2023
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 7, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)Nikhil-Vats commentedon Jul 7, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.
What is the root cause of that problem?
In this PR (see line 196) styles that are needed for limiting the width of parent chat (
parentNavigationSubtitle) were removed by mistake from theHeaderViewcomponent.What changes do you think we should make in order to solve the problem?
We need to add the following styles back to
PressableWithoutFeedbackafter line 196 in theHeaderViewcomponent -If we just add
alignSelfStartthen text will overflow on small screens as visible in result video below so we need to addmw100(max-width: 100%) too.What alternative solutions did you explore? (Optional)
NA
Result -
Screen.Recording.2023-07-08.at.3.42.35.AM.mov
slafortune commentedon Jul 10, 2023
Bug report looks good!
[-]Web - The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.[/-][+][$1000] Web - The clickable area of the header of the assigned task chat and thread message chat is stretched beyond the link text.[/+]melvin-bot commentedon Jul 10, 2023
Job added to Upwork: https://www.upwork.com/jobs/~015979d65d6bb3946e
melvin-bot commentedon Jul 10, 2023
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jul 10, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (
External)Pujan92 commentedon Jul 10, 2023
Seems we already have a PR for it.