Skip to content

fix: respect UIDesignRequiresCompatibility in `KeyboardExtenderCont…#1402

Merged
kirillzyusko merged 1 commit intokirillzyusko:mainfrom
qister:fix/keyboard-extender-compatibility-mode
Mar 26, 2026
Merged

fix: respect UIDesignRequiresCompatibility in `KeyboardExtenderCont…#1402
kirillzyusko merged 1 commit intokirillzyusko:mainfrom
qister:fix/keyboard-extender-compatibility-mode

Conversation

@qister
Copy link
Copy Markdown
Contributor

@qister qister commented Mar 26, 2026

Closes #1401

Summary

  • Check UIDesignRequiresCompatibility before using ModernContainerView on iOS 26+
  • Fall back to LegacyContainerView when compatibility mode is enabled

Before

Simulator Screenshot - iPhone 17 Pro - 2026-03-26 at 13 17 40

After

Simulator Screenshot - iPhone 17 Pro - 2026-03-26 at 13 18 54

Test plan

  • Set UIDesignRequiresCompatibility to true in Info.plist
  • Run on iOS 26.2 simulator
  • Verify KeyboardExtender renders without rounded corners

@kirillzyusko kirillzyusko self-assigned this Mar 26, 2026
@kirillzyusko kirillzyusko added 🐛 bug Something isn't working KeyboardExtender 🧩 Anything about keyboard extending (i. e. `KeyboardExtender` component) labels Mar 26, 2026
@kirillzyusko kirillzyusko self-requested a review March 26, 2026 10:52
@kirillzyusko
Copy link
Copy Markdown
Owner

Hey @qister

Don't you mind to attach screenshots before/after fix?

Comment thread ios/views/KeyboardExtenderContainerView.swift
@github-actions
Copy link
Copy Markdown
Contributor

📊 Package size report

Current size Target Size Difference
307771 bytes 307713 bytes 58 bytes 📈

@kirillzyusko kirillzyusko self-requested a review March 26, 2026 13:22
@kirillzyusko kirillzyusko merged commit af5da35 into kirillzyusko:main Mar 26, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working KeyboardExtender 🧩 Anything about keyboard extending (i. e. `KeyboardExtender` component)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyboardExtender ignores UIDesignRequiresCompatibility on iOS 26+

2 participants