Skip to content

iOS 26.3: Pause between inputmode="none" and focus()#5757

Merged
OEvgeny merged 5 commits intomainfrom
fix-ios-26.3
Feb 27, 2026
Merged

iOS 26.3: Pause between inputmode="none" and focus()#5757
OEvgeny merged 5 commits intomainfrom
fix-ios-26.3

Conversation

@compulim
Copy link
Contributor

@compulim compulim commented Feb 26, 2026

Related to #5678.

Changelog Entry

Fixed

  • Fixed virtual keyboard should be collapsed after being suppressed, in iOS 26.3, by @compulim in PR #5757

Description

Virtual keyboard are not collapse when we set inputmode="none" and call focus().

On iOS 26.3, we need to add a pause (either requestAnimationFrame or requestIdleCallback) between setAttribute and focus() to have the new inputmode="none" registered.

The expected behavior is recorded in the video below.

video_2026-02-26_00-53-10.mp4

Specific Changes

  • Add a pause after setAttribute('inputmode', 'none') and before focus()
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim marked this pull request as ready for review February 26, 2026 08:57
OEvgeny
OEvgeny previously approved these changes Feb 26, 2026
@OEvgeny OEvgeny enabled auto-merge (squash) February 26, 2026 17:01
@OEvgeny OEvgeny disabled auto-merge February 27, 2026 18:46
@OEvgeny OEvgeny merged commit 13b0b33 into main Feb 27, 2026
30 checks passed
@OEvgeny OEvgeny deleted the fix-ios-26.3 branch February 27, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants