Skip to content

Conversation

@dogo
Copy link
Owner

@dogo dogo commented Nov 30, 2025

Fixes issue #.
  • This pull request follows the coding standards
This PR changes:

Problem

On iPad in landscape mode, the keyboard covers the alert buttons when tapping a text field.

Root Cause

The previous implementation compared local view coordinates with screen coordinates from the keyboard notification, causing incorrect offset calculations.

Fix

  • Convert _contentView frame to screen coordinates before comparing with keyboard frame
  • Use keyboard animation duration/curve for smooth synchronized transitions
  • Only move alert when there's actual overlap with keyboard

Fixes #300

@dogo dogo self-assigned this Nov 30, 2025
cursor[bot]

This comment was marked as outdated.

@dogo dogo merged commit 875877b into develop Nov 30, 2025
3 checks passed
@dogo dogo deleted the fix/improve-keyboard-handling branch November 30, 2025 11:11
Repository owner deleted a comment from cursor bot Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPad keyboard covered by alert

1 participant