jquery-qrcode icon indicating copy to clipboard operation
jquery-qrcode copied to clipboard

When set `render: 'table'`, it can not work.

Open hiddaorear opened this issue 9 years ago • 4 comments

$code.qrcode({
    width   : 175
    ,height:175
    ,render : 'table'
    ,text   : 'http://pr.oneplus.cn/blog/2015/pete-whats-never-settle'
});

Hi, this is a bug. The qr code cannot access. But, if we take out width and height, it is good. when set render: 'canvas', it also good.

I guess the size algorithm has a problem, when the render is table.

hiddaorear avatar Jul 06 '15 09:07 hiddaorear

i've got the same problem as you do, when 'render' is set as 'table', there'll be some mistakes with the width and height of each td of the table, which makes the table a triangle rather than a square. if you have some clue, plz share with us, thx.

RyanLiu0235 avatar Feb 23 '16 03:02 RyanLiu0235

I'm sorry, i do not have a good idea. Maybe we want to read the souce code.

hiddaorear avatar Feb 23 '16 06:02 hiddaorear

do you resolve this problem? @hiddaorear @stop2stare

davidweining2333 avatar May 04 '17 06:05 davidweining2333

It's been a long time that I can't remember what this issue is about, and still, it remains unresolved.

RyanLiu0235 avatar May 06 '17 11:05 RyanLiu0235