BarcodeScanner.Mobile icon indicating copy to clipboard operation
BarcodeScanner.Mobile copied to clipboard

CameraView does not appear to respect HeightRequest or WidthRequest

Open ThreeSevenths opened this issue 1 year ago • 0 comments

Describe the bug When using the <gv:CameraView /> View, the WidthRequest and HeightRequest properties do not seem to be respected properly. Adding a border around the CameraView only makes the situation worse and no camera preview is displayed.

To Reproduce Steps to reproduce the behavior:

https://github.com/ThreeSevenths/ReproSampleBarcodePopover

Clone and Run the repro sample.

Expected behavior

I expect that the Width and Height requested can be observed, or should at least throw if they cannot be. I also expect the CameraView to work in a Border, or in a Community Toolkit PopupView without overflowing the container.

Smartphone (please complete the following information):

  • Device: Samsung Galaxy Tablet
  • OS: Android
  • Version Maui 7.0

ThreeSevenths avatar Sep 21 '23 20:09 ThreeSevenths