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
[Due for payment 2026-07-14] [$250] Web - Email tooltip is not displayed when hovering over member of a group #93322
Version Number: v9.4.5-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack: N/A Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Windows 11/ Chrome App Component: Other
Action Performed:
Sign in to staging.new.expensify.com
Create a group with more than 2 members
Navigate to the group created in step 2
Click on group header > Members
Hover over the email address of the group admin
Hover over the email address of the member (Not admin)
Expected Result:
Tooltip with email address of the member is displayed when hovering just like when hovering over admin
Actual Result:
Tooltip with email address is not displayed when hovering over group member just like when hovering over group admins
The email tooltip in the Members list is overflow-gated — it only appears when the email text is truncated. The admin row truncates because the "Admin" badge steals horizontal space; the member row doesn't, so its email never overflows and no tooltip ever shows.
Walking through it:
Each row's email is the alternateText. Admin rows additionally get a right-side Admin badge, member rows get rightElement: null — ReportParticipantsPage.tsx:237-255.
Both rows render that email through the same TextWithTooltip, and the badge (rightElement) is appended to the right of the text column — TableListItem.tsx:80-88.
TextWithTooltip (web) only enables the tooltip when the text actually overflows its box (scrollWidth > offsetWidth) — TextWithTooltip/index.tsx:22-32.
So the Admin badge narrows the admin row's text column → email truncates → tooltip activates. The member row's text column is full width → email fits → no tooltip. It is not a code-branch difference, it's a layout side-effect of the conditional badge.
Confirmation / how to disambiguate
Both rows use the identical TextWithTooltip with shouldShowTooltip = true (shouldShowTooltips defaults to true in BaseSelectionList), so the tooltip isn't being disabled on member rows by any branch. The only structural difference is the badge. Quick repro to prove it: shrink the window or give a member a very long email — the member row's email will start truncating and the tooltip will appear. Confidence: High — mechanically traceable, web-only DOM behavior (no logs needed).
What changes do you think we should make in order to solve the problem?
Two reasonable directions, depending on the intended UX:
If the email should always have a tooltip (regardless of truncation): the overflow gate in TextWithTooltip is the wrong behavior for this case. The simplest targeted fix is to render the email with a plain Tooltip whose shouldRender is always true for these rows, rather than the overflow-gated TextWithTooltip. This guarantees a consistent tooltip on every member's email.
If the email tooltip should only appear on truncation (and the bug is just the inconsistency): reserve an equal-width slot for the role column on every row (e.g. render the same right-element placeholder for non-admins, or fix the text column width) so admin and member rows truncate identically.
Given the issue title ("tooltip is not displayed when hovering over member… just like when hovering over admin"), option 1 (always show the email tooltip) matches the reported expectation most directly.
What alternative solutions did you explore? (Optional)
Constraining the email column to a fixed narrow width so it always overflows — rejected, since short emails still wouldn't trigger the overflow gate and it harms layout.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/93322) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
Please re-state the problem that we are trying to solve in this issue.
On Web, when viewing the Members list of a group chat (Group header > Members), hovering over the email of a non-admin member does not display a tooltip with the full email address, while hovering over an admin's email does. The expected behavior is that the email tooltip appears consistently for all members regardless of role.
What is the root cause of that problem?
In src/pages/ReportParticipantsPage.tsx:246, each participant row sets rightElement: isAdmin ? <Badge text={translate('common.admin')} /> : null. The email is rendered through TextWithTooltip in src/components/SelectionList/ListItem/TableListItem.tsx:81-86, which only enables the tooltip when the text actually overflows its container (target.scrollWidth > target.offsetWidth, see src/components/TextWithTooltip/index.tsx:27). For admin rows, the Admin badge shrinks the available text-column width, causing the email to truncate and trigger the tooltip; for non-admin rows the null rightElement leaves the column wider, so the email fits without truncation and the tooltip never activates. The bug is therefore the inconsistent row width between admin and non-admin rows, not a tooltip wiring issue.
What changes do you think we should make in order to solve the problem?
In src/pages/ReportParticipantsPage.tsx around line 246, replace rightElement: isAdmin ? <Badge .../> : null with a layout that reserves a constant-width slot for the role badge — render a <View> with a fixed/min width matching the admin Badge (re-using the header's StyleUtils.getMinimumWidth(60) already applied at line 301 for the role column header) and place the Badge inside only when isAdmin. This keeps the text column width identical across admin and member rows so truncation behavior — and thus tooltip activation — is consistent.
Verify alignment with the existing role-column header in ReportParticipantsPage.tsx:300-304 (which already reserves a 60px-min column) so members visually line up under "Role".
No platform twins required — TableListItem and TextWithTooltip are shared cross-platform; the row data is produced only here.
What alternative solutions did you explore? (Optional)
Force the email TextWithTooltip to always show a tooltip (drop the overflow gate) — rejected because it changes shared component behavior used across many lists and would show redundant tooltips when text already fits.
So admin rows lose width to the Admin badge, their email overflows, and the tooltip is enabled. Regular member rows do not reserve the role column, so their email gets more width, does not overflow, and the tooltip remains disabled. This makes rows under the same “Role” header behave differently.
Git history confirms this asymmetry was introduced with the table UI itself: commit 672f3699ce3 added both TableListItem and ReportParticipantsPage, including rightElement: isAdmin ? <Badge ... /> : null and the 60px role header. It was not caused by a later tooltip change.
Comparable cases already reserve right-side column space when a table layout needs stable columns, e.g. workspace members wraps role content in a fixed-width right column:
What changes do you think we should make in order to solve the problem?
Reserve the same role-column width for every group participant row. Render the Admin badge inside that fixed-width role column for admins, and render an empty fixed-width role column for regular members.
This fixes the root cause without changing shared tooltip behavior or TableListItem. The change is scoped to the group members page, so other selection lists keep their current layout and tooltip rules.
To avoid regressions, we should verify:
Admin and non-admin rows still align under the Role header.
Hovering the email shows the tooltip for both admin and regular members on web.
Multi-select mode still works, including checkbox alignment and bulk actions.
Non-group participant/member pages are unchanged because the fixed role column is only applied for isGroupChat.
changed the title [-]Web - Email tooltip is not displayed when hovering over member of a group[/-][+][$250] Web - Email tooltip is not displayed when hovering over member of a group[/+]on Jun 11, 2026
Because admin rows render the Admin badge, their email column is narrower, so the email overflows and shows a tooltip. Regular member rows render no right element, so the email gets the extra role-column width, does not overflow, and TextWithTooltip does not show a tooltip. This makes the tooltip behavior differ between admins and members.
What changes do you think we should make in order to solve the problem?
Reserve the same role-column width for every group chat participant row. The row should render the Admin badge inside that column for admins, and an empty placeholder with the same minimum width for regular members.
Required changes:
In src/pages/ReportParticipantsPage.tsx, change rightElement for group chats so it always renders a View with StyleUtils.getMinimumWidth(60).
Render <Badge text={translate('common.admin')} /> inside that view only when the participant is an admin.
Keep rightElement as null for non-group-chat participant lists, since those screens do not render the Role header column.
Tests to add:
Add a focused UI/component test for ReportParticipantsPage with a group chat containing at least one admin and one regular member.
Assert that both admin and member rows reserve the role column while only admin rows render the Admin badge.
Verify long member emails are constrained/truncated consistently so the existing TextWithTooltip behavior can show the email tooltip.
I considered changing TableListItem or TextWithTooltip so participant emails always show a tooltip even when they do not overflow. I rejected that because TableListItem is shared by workspace members, tags, taxes, report fields, domain members, and other table-style lists. The root cause is local to the group chat participants page: its header always has a Role column, but non-admin rows do not reserve that column.
What alternative solutions did you explore? (Optional)
Another solution I explored is a scoped behavior fix instead of a layout-only fix.
The current proposal addresses the row-width inconsistency by reserving the same role-column width for both admins and regular members. That makes truncation behavior more consistent because both rows are measured with the same available text width. However, it still depends on TextWithTooltip's current overflow-only behavior. If an email fits within that width, the tooltip still will not render.
Because of that, I also explored a more complete but still low-risk alternative:
add an opt-in prop to TextWithTooltip so a caller can request tooltip rendering without requiring overflow,
thread that opt-in through TableListItem only for alternateText,
enable it only for group chat participant emails in DynamicReportParticipantsPage.
This keeps the default shared behavior unchanged elsewhere in the app, avoids a global tooltip behavior change, and ensures consistent email tooltip behavior for both admins and regular members regardless of email length.
I did not choose this as the main proposal at first because it touches shared components (TextWithTooltip and TableListItem), while the column-width fix was more localized to the participants page and appeared lower risk. However, after validating the layout-only approach, I no longer think it is sufficient on its own. Reserving equal role-column width improves alignment and makes admin/member rows more consistent, but it still relies on overflow to trigger the tooltip. If the email text fits within the available space, the reported issue can still remain unresolved.
Because of that, I now think this scoped opt-in tooltip approach is the stronger and more complete fix: it preserves existing shared behavior elsewhere while reliably resolving the inconsistent email tooltip behavior on the group participants page.
⚠️@mukhrr Your proposal is a duplicate of an already existing proposal and has been automatically withdrawn to prevent spam. Please review the existing proposals before submitting a new one.
Activity
applause-bot commentedon Jun 11, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/f3403972c209ac0a3c082979957cc31b64170930445f6e8420111d6aa25bfbf8
MelvinBot commentedon Jun 11, 2026
Proposal
What is the root cause of that problem?
The email tooltip in the Members list is overflow-gated — it only appears when the email text is truncated. The admin row truncates because the "Admin" badge steals horizontal space; the member row doesn't, so its email never overflows and no tooltip ever shows.
Walking through it:
alternateText. Admin rows additionally get a right-sideAdminbadge, member rows getrightElement: null—ReportParticipantsPage.tsx:237-255.TextWithTooltip, and the badge (rightElement) is appended to the right of the text column —TableListItem.tsx:80-88.TextWithTooltip(web) only enables the tooltip when the text actually overflows its box (scrollWidth > offsetWidth) —TextWithTooltip/index.tsx:22-32.So the
Adminbadge narrows the admin row's text column → email truncates → tooltip activates. The member row's text column is full width → email fits → no tooltip. It is not a code-branch difference, it's a layout side-effect of the conditional badge.Confirmation / how to disambiguate
Both rows use the identical
TextWithTooltipwithshouldShowTooltip = true(shouldShowTooltipsdefaults totrueinBaseSelectionList), so the tooltip isn't being disabled on member rows by any branch. The only structural difference is the badge. Quick repro to prove it: shrink the window or give a member a very long email — the member row's email will start truncating and the tooltip will appear. Confidence: High — mechanically traceable, web-only DOM behavior (no logs needed).What changes do you think we should make in order to solve the problem?
Two reasonable directions, depending on the intended UX:
If the email should always have a tooltip (regardless of truncation): the overflow gate in
TextWithTooltipis the wrong behavior for this case. The simplest targeted fix is to render the email with a plainTooltipwhoseshouldRenderis alwaystruefor these rows, rather than the overflow-gatedTextWithTooltip. This guarantees a consistent tooltip on every member's email.If the email tooltip should only appear on truncation (and the bug is just the inconsistency): reserve an equal-width slot for the role column on every row (e.g. render the same right-element placeholder for non-admins, or fix the text column width) so admin and member rows truncate identically.
Given the issue title ("tooltip is not displayed when hovering over member… just like when hovering over admin"), option 1 (always show the email tooltip) matches the reported expectation most directly.
What alternative solutions did you explore? (Optional)
Constraining the email column to a fixed narrow width so it always overflows — rejected, since short emails still wouldn't trigger the overflow gate and it harms layout.
Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/93322)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
aswin-s commentedon Jun 11, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
On Web, when viewing the Members list of a group chat (Group header > Members), hovering over the email of a non-admin member does not display a tooltip with the full email address, while hovering over an admin's email does. The expected behavior is that the email tooltip appears consistently for all members regardless of role.
What is the root cause of that problem?
In
src/pages/ReportParticipantsPage.tsx:246, each participant row setsrightElement: isAdmin ? <Badge text={translate('common.admin')} /> : null. The email is rendered throughTextWithTooltipinsrc/components/SelectionList/ListItem/TableListItem.tsx:81-86, which only enables the tooltip when the text actually overflows its container (target.scrollWidth > target.offsetWidth, seesrc/components/TextWithTooltip/index.tsx:27). For admin rows, the Admin badge shrinks the available text-column width, causing the email to truncate and trigger the tooltip; for non-admin rows thenullrightElement leaves the column wider, so the email fits without truncation and the tooltip never activates. The bug is therefore the inconsistent row width between admin and non-admin rows, not a tooltip wiring issue.What changes do you think we should make in order to solve the problem?
src/pages/ReportParticipantsPage.tsxaround line 246, replacerightElement: isAdmin ? <Badge .../> : nullwith a layout that reserves a constant-width slot for the role badge — render a<View>with a fixed/min width matching the admin Badge (re-using the header'sStyleUtils.getMinimumWidth(60)already applied at line 301 for the role column header) and place the Badge inside only whenisAdmin. This keeps the text column width identical across admin and member rows so truncation behavior — and thus tooltip activation — is consistent.ReportParticipantsPage.tsx:300-304(which already reserves a 60px-min column) so members visually line up under "Role".TableListItemandTextWithTooltipare shared cross-platform; the row data is produced only here.What alternative solutions did you explore? (Optional)
Force the email
TextWithTooltipto always show a tooltip (drop the overflow gate) — rejected because it changes shared component behavior used across many lists and would show redundant tooltips when text already fits.mukhrr commentedon Jun 11, 2026
Proposal
What is the root cause of that problem?
ReportParticipantsPagebuilds group member rows withTableListItem, but it only passes a right-side role element for admins:App/src/pages/ReportParticipantsPage.tsx
Lines 238 to 247 in b489db4
The same screen’s header always reserves a 60px role column for group chats:
App/src/pages/ReportParticipantsPage.tsx
Lines 299 to 303 in b489db4
TableListItemrendersalternateTextwithTextWithTooltip, but the right element is only rendered whenitem.rightElementexists:App/src/components/SelectionList/ListItem/TableListItem.tsx
Lines 67 to 88 in b489db4
TextWithTooltiponly enables the tooltip when the rendered text overflows:App/src/components/TextWithTooltip/index.tsx
Lines 22 to 31 in b489db4
So admin rows lose width to the Admin badge, their email overflows, and the tooltip is enabled. Regular member rows do not reserve the role column, so their email gets more width, does not overflow, and the tooltip remains disabled. This makes rows under the same “Role” header behave differently.
Git history confirms this asymmetry was introduced with the table UI itself: commit
672f3699ce3added bothTableListItemandReportParticipantsPage, includingrightElement: isAdmin ? <Badge ... /> : nulland the 60px role header. It was not caused by a later tooltip change.Comparable cases already reserve right-side column space when a table layout needs stable columns, e.g. workspace members wraps role content in a fixed-width right column:
App/src/pages/workspace/WorkspaceMembersPage.tsx
Lines 508 to 515 in b489db4
There is also an existing helper pattern that reserves a 60px right column even when no label is present:
App/src/components/SelectionListWithModal/ListItemRightCaretWithLabel.tsx
Lines 21 to 24 in b489db4
What changes do you think we should make in order to solve the problem?
Reserve the same role-column width for every group participant row. Render the Admin badge inside that fixed-width role column for admins, and render an empty fixed-width role column for regular members.
Small illustrative diff:
This fixes the root cause without changing shared tooltip behavior or
TableListItem. The change is scoped to the group members page, so other selection lists keep their current layout and tooltip rules.To avoid regressions, we should verify:
isGroupChat.melvin-bot commentedon Jun 11, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mkhutornyi (
External)[-]Web - Email tooltip is not displayed when hovering over member of a group[/-][+][$250] Web - Email tooltip is not displayed when hovering over member of a group[/+]x-dev90 commentedon Jun 11, 2026
Proposal
What is the root cause of that problem?
The members page in the recording is the report participants route,
r/:reportID/participants, rendered byReportParticipantsPage.For group chats, the page renders a table-like header with a dedicated
Rolecolumn for every row:App/src/pages/ReportParticipantsPage.tsx
Lines 295 to 305 in f0ef594
But the row data only reserves a right-side role element for admins:
App/src/pages/ReportParticipantsPage.tsx
Lines 238 to 247 in f0ef594
TableListItemrenders the display name and email inside a flex text container, then appendsitem.rightElementafter that text container:App/src/components/SelectionList/ListItem/TableListItem.tsx
Lines 67 to 88 in f0ef594
The email text tooltip is provided by
TextWithTooltip, which only enables the tooltip when the text overflows its rendered bounds:App/src/components/TextWithTooltip/index.tsx
Lines 22 to 31 in f0ef594
Because admin rows render the
Adminbadge, their email column is narrower, so the email overflows and shows a tooltip. Regular member rows render no right element, so the email gets the extra role-column width, does not overflow, andTextWithTooltipdoes not show a tooltip. This makes the tooltip behavior differ between admins and members.What changes do you think we should make in order to solve the problem?
Reserve the same role-column width for every group chat participant row. The row should render the
Adminbadge inside that column for admins, and an empty placeholder with the same minimum width for regular members.Required changes:
src/pages/ReportParticipantsPage.tsx, changerightElementfor group chats so it always renders aViewwithStyleUtils.getMinimumWidth(60).<Badge text={translate('common.admin')} />inside that view only when the participant is an admin.rightElementasnullfor non-group-chat participant lists, since those screens do not render theRoleheader column.Tests to add:
ReportParticipantsPagewith a group chat containing at least one admin and one regular member.Adminbadge.TextWithTooltipbehavior can show the email tooltip.I considered changing
TableListItemorTextWithTooltipso participant emails always show a tooltip even when they do not overflow. I rejected that becauseTableListItemis shared by workspace members, tags, taxes, report fields, domain members, and other table-style lists. The root cause is local to the group chat participants page: its header always has aRolecolumn, but non-admin rows do not reserve that column.What alternative solutions did you explore? (Optional)
Another solution I explored is a scoped behavior fix instead of a layout-only fix.
The current proposal addresses the row-width inconsistency by reserving the same role-column width for both admins and regular members. That makes truncation behavior more consistent because both rows are measured with the same available text width. However, it still depends on
TextWithTooltip's current overflow-only behavior. If an email fits within that width, the tooltip still will not render.Because of that, I also explored a more complete but still low-risk alternative:
TextWithTooltipso a caller can request tooltip rendering without requiring overflow,TableListItemonly foralternateText,DynamicReportParticipantsPage.This keeps the default shared behavior unchanged elsewhere in the app, avoids a global tooltip behavior change, and ensures consistent email tooltip behavior for both admins and regular members regardless of email length.
I did not choose this as the main proposal at first because it touches shared components (
TextWithTooltipandTableListItem), while the column-width fix was more localized to the participants page and appeared lower risk. However, after validating the layout-only approach, I no longer think it is sufficient on its own. Reserving equal role-column width improves alignment and makes admin/member rows more consistent, but it still relies on overflow to trigger the tooltip. If the email text fits within the available space, the reported issue can still remain unresolved.Because of that, I now think this scoped opt-in tooltip approach is the stronger and more complete fix: it preserves existing shared behavior elsewhere while reliably resolving the inconsistent email tooltip behavior on the group participants page.
My Alternative Fixed Demo:
Screencast.From.2026-06-18.19-32-58.mp4
melvin-bot commentedon Jun 11, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022065147761627713217
github-actions commentedon Jun 11, 2026
81 remaining items
melvin-bot commentedon Jul 13, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Jul 13, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
melvin-bot commentedon Jul 16, 2026
@mallenexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
mallenexpensify commentedon Jul 16, 2026
Payment Summary
Contributor+: @mkhutornyi due $250 via NewDot
^ Test case created. Thx
trjExpensify commentedon Aug 3, 2026
approved $250 for @mkhutornyi