Skip to content

Commit

Permalink
Merge pull request Expensify#30225 from Krishna2323/krishna2323/issue…
Browse files Browse the repository at this point in the history
…/29598

fix: Attachment's close icon is not entirely clickable on the desktop app.
  • Loading branch information
Joel Bettner authored Oct 24, 2023
2 parents f6a9dde + d122e94 commit 0ae8b5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/HeaderWithBackButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ function HeaderWithBackButton({
const {translate} = useLocalize();
const {isKeyboardShown} = useKeyboardState();
return (
<View style={[styles.headerBar, shouldShowBorderBottom && styles.borderBottom, shouldShowBackButton && styles.pl2]}>
<View
// Hover on some part of close icons will not work on Electron if dragArea is true
// https://github.com/Expensify/App/issues/29598
dataSet={{dragArea: false}}
style={[styles.headerBar, shouldShowBorderBottom && styles.borderBottom, shouldShowBackButton && styles.pl2]}
>
<View style={[styles.dFlex, styles.flexRow, styles.alignItemsCenter, styles.flexGrow1, styles.justifyContentBetween, styles.overflowHidden]}>
{shouldShowBackButton && (
<Tooltip text={translate('common.back')}>
Expand Down

0 comments on commit 0ae8b5f

Please sign in to comment.