Open pedrobertao opened 6 years ago
When dynamically resetting the value for the QRCode, it fails when the value string is too big. Example: First I have this: https://www.foo.io/big-foo/#/send?to=XXXXXXXXXXXXXXXXXXXXXX QRCode loads correctly.
Then I update the value to get something like https://www.foo.io/big-foo/#/send?to=YYYYYYYYYYYYYYYYYYYYYY QRCode doesn't reload.
Workaround: Clear value (set value to ' ' i.e.) and then set the new value. It doesn't work if I simply replace the new value with the old one.
How to solve this problem?
I solved this problem,by change the QR background color! For example, bgColor #000 to #333
When dynamically resetting the value for the QRCode, it fails when the value string is too big. Example: First I have this: https://www.foo.io/big-foo/#/send?to=XXXXXXXXXXXXXXXXXXXXXX QRCode loads correctly.
Then I update the value to get something like https://www.foo.io/big-foo/#/send?to=YYYYYYYYYYYYYYYYYYYYYY QRCode doesn't reload.
Workaround: Clear value (set value to ' ' i.e.) and then set the new value. It doesn't work if I simply replace the new value with the old one.