CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
348 stars 60 forks source link

MudBarCode rendering UPC_A and UPC_E incorrectly #357

Open kencherasaro opened 2 months ago

kencherasaro commented 2 months ago

It appears that the inner tags for these SVGs are rendering with a height of 1 when the value should be larger. Thinking it could be a parameter or possibly calculated.

<rect class="d-flex align-center justify-center" width="1" height="1" style="fill: black; stroke-width: 0px; stroke: black;" x="9"y="0">

Screenshot 2024-03-06 at 8 12 41 AM

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/MudBarcode.razor#L20

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/MudBarcode.razor.cs#L62

https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/1c05d6cf7b95c7c0d10e12ec01755756f0841199/CodeBeam.MudBlazor.Extensions/Components/Barcode/BarcodeResult.cs#L14

mckaragoz commented 2 months ago

Im not have expertise on this component. You can prepare a PR. Is it only about making it as a parameter?