Skip to content

Conversation

@michaelwolz
Copy link
Contributor

Closes: #384

Alternative solution by @ryaa: #385

@ryaa
Copy link
Member

ryaa commented Jun 17, 2025

I have reviewed the changes in this PR and compared them to capacitor-community/camera-preview#385. I believe the current PR is preferable.

While the other PR adds support for insets, it introduces an issue where the preview height is correct, but the content is flush against the top edge with no padding. Manually adding top padding could conflict with the x coordinate option, potentially leading to confusing or inconsistent layout behavior.

This fix is scheduled for the next upcoming build v7.0.2

@michaelwolz thank you for your contribution :)

@ryaa ryaa merged commit 3fd9476 into capacitor-community:master Jun 17, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Camera preview not full screen in Capacitor 7 when height is not specified (Android)

2 participants