Eliminate removeChild DOM conflict in PDF thumbnail rendering

Fixkamo-internal
已装运
2026年4月12日 02:38 UTC
作者
kamo
提交
129d283

Replace container.innerHTML + appendChild pattern in ThumbnailCanvas with a React-managed <canvas> ref. The old approach cleared React-owned DOM nodes directly, causing React reconciliation to fail when it tried to remove the now-missing Typography loading node. Also add a pending-promise guard to loadPdfJs() in both components so concurrent calls share a single script injection instead of appending duplicate module scripts to document.head.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价