Skip to content

Commit

Permalink
Merge pull request #56637 from linhvovan29546/fix/56037-expand-collap…
Browse files Browse the repository at this point in the history
…se-tooltip-not-dissmissed

fix: expand and collapse tooltip not dissmissed
  • Loading branch information
luacmartins authored Feb 11, 2025
2 parents 5b05237 + d866f76 commit 8670d37
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,10 @@ function AttachmentPickerWithMenuItems({
</View>
<View style={expandCollapseButtonContainerStyles}>
{isComposerFullSize ? (
<Tooltip text={translate('reportActionCompose.collapse')}>
<Tooltip
text={translate('reportActionCompose.collapse')}
key="composer-collapse"
>
<PressableWithFeedback
onPress={(e) => {
e?.preventDefault();
Expand All @@ -313,7 +316,10 @@ function AttachmentPickerWithMenuItems({
</PressableWithFeedback>
</Tooltip>
) : (
<Tooltip text={translate('reportActionCompose.expand')}>
<Tooltip
text={translate('reportActionCompose.expand')}
key="composer-expand"
>
<PressableWithFeedback
onPress={(e) => {
e?.preventDefault();
Expand Down

0 comments on commit 8670d37

Please sign in to comment.