epub.js icon indicating copy to clipboard operation
epub.js copied to clipboard

fix(iframe-view): can't turn pages after changing window size

Open NoraH1to opened this issue 2 years ago • 1 comments

before fix:

before

after fix:

after

NoraH1to avatar May 19 '23 18:05 NoraH1to

Because frequent resizing causes iframes to be destroyed before they are loaded, the onload of the iframe is not executed, which causes a promise to remain in a pending state and block the queue.

See the section I modified for details.

NoraH1to avatar May 19 '23 18:05 NoraH1to