cordova-plugin-media-capture
cordova-plugin-media-capture copied to clipboard
captureAudio modal's record button is cut off on iPad
Bug Report
Problem
When I call navigator.device.capture.captureAudio on iOS, the audio capture tool pops up, but I can't hit the "record" button because it's cut off.
What is expected to happen?
The record button appears at the bottom of the audio recording modal.
What does actually happen?
It looks like the capture dialog is expecting a fixed height that would be the full height of the device in portrait. However, since it's in a mostly-full-screen modal, part of it gets cut off in portrait, and the record button is completely cut off in landscape view.
Information
Using cordova-plugin-media-capture 3.0.3 "Capture"
Command or Code
Environment, Platform, Device
Version information
Using cordova-plugin-media-capture 3.0.3 "Capture" Only reproduced on iOS
Checklist
- [x] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
Duplicate of #176