Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
QichenZhu authored Feb 1, 2025
1 parent f288ffb commit 4c1c963
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ function ComposerWithSuggestions(
}
if (isMobileWebKit()) {
isTouchEndedRef.current = false;
// In iOS browsers, open the keyboard after a timeout, or it will close briefly.
setTimeout(() => {
if (!isTouchEndedRef.current) {
// Don't open the keyboard on long press so the callout menu can show.
Expand Down

0 comments on commit 4c1c963

Please sign in to comment.