Commit af5da35
authored
fix: respect
Closes #1401
## Summary
- Check `UIDesignRequiresCompatibility` before using
`ModernContainerView` on iOS 26+
- Fall back to `LegacyContainerView` when compatibility mode is enabled
## Before
<img width="250" alt="Simulator Screenshot - iPhone 17 Pro - 2026-03-26
at 13 17 40"
src="https://github.com/user-attachments/assets/e3a93db9-15b3-43a3-a24e-cd64ffac8c6e"
/>
## After
<img width="250" alt="Simulator Screenshot - iPhone 17 Pro - 2026-03-26
at 13 18 54"
src="https://github.com/user-attachments/assets/3700fc52-5c7e-4a0d-9168-2c52a02e7626"
/>
## Test plan
- Set `UIDesignRequiresCompatibility` to `true` in `Info.plist`
- Run on iOS 26.2 simulator
- Verify `KeyboardExtender` renders without rounded cornersUIDesignRequiresCompatibility in `KeyboardExtenderCont… (#1402)1 parent 33a5d7b commit af5da35
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments