Skip to content

Commit

Permalink
Merge pull request #48510 from ishpaul777/fix/48452
Browse files Browse the repository at this point in the history
[FIX] "iOS - Composer - Add attachment modal is hidden behind the keyboard"
  • Loading branch information
roryabraham authored Sep 3, 2024
2 parents e157c1a + efe06c0 commit ca8813d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PopoverMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ function PopoverMenu({
const selectedSubMenuItemIndex = selectedItem?.subMenuItems.findIndex((option) => option.isSelected);
setFocusedIndex(selectedSubMenuItemIndex);
} else if (selectedItem.shouldCallAfterModalHide && !Browser.isSafari()) {
onItemSelected(selectedItem, index);
Modal.close(() => {
onItemSelected(selectedItem, index);
selectedItem.onSelected?.();
});
} else {
Expand Down

0 comments on commit ca8813d

Please sign in to comment.