Closed izarutskaya closed 8 hours ago
Triggered auto assignment to @stephanieelliott (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
In search, expense with big amount are shown in ellipsis.
Although the default merchant is hidden, we always add this View
with flex: 2
And the total wrap view has flex: 1
https://github.com/Expensify/App/blob/00a81dc63f265a9f90a29f2d744a70465924f7f1/src/components/SelectionList/Search/TransactionListItemRow.tsx#L328
So two columns split the remain width width scale 2:1
and the amount wrap view cannot take the max width possible
We should only render this View
if the merchant or category is displayed
{(!!item.formattedMerchant || !!item?.comment?.comment || !!item.category) && (
<View style={[styles.flex2, !item.category && styles.justifyContentCenter, styles.gap1]}>
<MerchantCell
transactionItem={item}
showTooltip={showTooltip}
isLargeScreenWidth={false}
/>
{!!item.category && (
<View style={[styles.flexRow, styles.flex1, styles.alignItemsEnd]}>
<CategoryCell
isLargeScreenWidth={false}
showTooltip={showTooltip}
transactionItem={item}
/>
</View>
)}
</View>
)}
This is expected behavior, not a bug. It's happening because the entry is too long to fit into the field.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.65-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
In search, expense with big amount must not be shown in ellipsis.
Actual Result:
In search, expense with big amount are shown in ellipsis.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/user-attachments/assets/fe6a1220-8987-4da8-9155-c160c9ff7559
View all open jobs on GitHub