-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Width and height in config are not considered. Rectangular box cannot be drawn. #429
Comments
@mebjas , is it possible to configure the width and height of box other than square? |
As there was no update, I decided to give a try and changed the heights in html5-qrcode.js. I did the change as below. _possiblyInsertShadingElement(element, width, height, qrboxSize) {
|
Describe the bug
We have an option to configure width and height in qrbox.
qrbox: { width: 250, height: 250 }
But the UI is always a square box irrespective of the height provided.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Rectangular box supposed to be visible.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: