cookies.txt icon indicating copy to clipboard operation
cookies.txt copied to clipboard

set timeout to render the popup content

Open zhangyuan opened this issue 7 years ago • 0 comments

At some website, the popup is too small and does not resize to fit the content. Please have a look at the snapshot.

cookies txt

Chrome Version: 57.0.2987.133 (64-bit)

I didn't figure out the root cause, but I am assuming that the popup fails to resize itself to fit the content. So I move the document.write(...) statement in a timeout to allow the popup to re-render after it has been initialized.

zhangyuan avatar May 02 '17 03:05 zhangyuan