Skip to content

Commit

Permalink
fix: issue closing native attachment picker icons when attach button …
Browse files Browse the repository at this point in the history
…is tapped
  • Loading branch information
khushal87 committed Aug 22, 2024
1 parent 717bada commit e139a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/components/MessageInput/AttachButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const AttachButtonWithContext = <
};

const attachButtonHandler = () => {
setShowAttachButtonPicker(true);
setShowAttachButtonPicker((prevShowAttachButtonPicker) => !prevShowAttachButtonPicker);
};

const onPressHandler = () => {
Expand Down

0 comments on commit e139a53

Please sign in to comment.