mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix signature canvas minimize
This commit is contained in:
1 parent
bf6eed4ea2
commit
2dec099f20
3 files changed
+3
No files matched your search
@@ -14,6 +14,7 @@ export default targetable(class extends HTMLElement {
|
||||
this.resizeObserver = new ResizeObserver(() => {
|
||||
requestAnimationFrame(() => {
|
||||
if (!this.canvas) return
|
||||
if (!this.canvas.parentNode?.clientWidth) return
|
||||
|
||||
const { width, height } = this.canvas
|
||||
|
||||
|
||||
Reference in new issue
Block a user