ionic-team / ionic-team/capacitor-keyboard
bug: margin problems on modal capacitor view when keyboard appears
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
**Ionic version:**
[ ] **4.x**
[x] **5.x**
**Current behavior:**
On iOS iPad, when the keyboard appears the ionic elements/page adjusts its margin to the right when the ionic app is being displayed as a modal.
**Expected behavior:**
The right margin should not adjust when the keyboard appears on an ionic page displayed via modal.
**Steps to reproduce:**
1. Create an ionic angular capacitor project, you may choose the 'conference' starter template
2. Add an 'ios' platform and build the project
3. Open ```../ios/App/App.xcworkspace``` and go to Main.storyboard.
4. Add a new View Controller to the storyboard and make it as 'Is Initial View Controller'
5. On the new view controller add a button to the view and connect it to the existing Bride View Controller via segue and choose 'Present Modally'.
6. Run the project on an iPad and click either search or a textfield so that the issue would appear.
Contributor guide
Assessment
This issue has not been assessed yet.