react-qrbtf icon indicating copy to clipboard operation
react-qrbtf copied to clipboard

QRNormal组件如何设置参数才能正常显示posType为roundRect的二维码

Open cuicui520 opened this issue 4 years ago • 3 comments

cuicui520 avatar Nov 24 '20 10:11 cuicui520

+1, component QRNormal renders completely broken QR code when passed with posType="roundRect": image

Sandbox with reproduction: https://codesandbox.io/p/sandbox/modern-fire-w5gwqg?file=%2Fsrc%2FApp.js%3A13%2C9-13%2C28

dimadk24 avatar Dec 17 '23 19:12 dimadk24

@cuicui520, were you able to find a workaround? 你能找到解决方法吗?

dimadk24 avatar Dec 17 '23 19:12 dimadk24

To whoever lands here in the future: this has been fixed in the master branch in https://github.com/CPunisher/react-qrbtf/commit/b4bda9e370f7f3995c807999906d40d61541096f, but not released. You can install the library from github to use this fix (as of now, you need nodejs v16 to compile it because of the outdated webpack version used).

dimadk24 avatar Jan 11 '24 07:01 dimadk24