Skip to content

Commit 8670d37

Browse files
authored
Merge pull request #56637 from linhvovan29546/fix/56037-expand-collapse-tooltip-not-dissmissed
fix: expand and collapse tooltip not dissmissed
2 parents 5b05237 + d866f76 commit 8670d37

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,10 @@ function AttachmentPickerWithMenuItems({
292292
</View>
293293
<View style={expandCollapseButtonContainerStyles}>
294294
{isComposerFullSize ? (
295-
<Tooltip text={translate('reportActionCompose.collapse')}>
295+
<Tooltip
296+
text={translate('reportActionCompose.collapse')}
297+
key="composer-collapse"
298+
>
296299
<PressableWithFeedback
297300
onPress={(e) => {
298301
e?.preventDefault();
@@ -313,7 +316,10 @@ function AttachmentPickerWithMenuItems({
313316
</PressableWithFeedback>
314317
</Tooltip>
315318
) : (
316-
<Tooltip text={translate('reportActionCompose.expand')}>
319+
<Tooltip
320+
text={translate('reportActionCompose.expand')}
321+
key="composer-expand"
322+
>
317323
<PressableWithFeedback
318324
onPress={(e) => {
319325
e?.preventDefault();

0 commit comments

Comments
 (0)