question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firefox mobile doesn't support `context.getTransform`

See original GitHub issue

The issue is reproductible on firefox mobile v68.3

Stack trace

be@https://excalidraw.com/static/js/main.a1fcd27b.chunk.js:1:48184
value@https://excalidraw.com/static/js/main.a1fcd27b.chunk.js:1:138117
bu@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:160321
t.unstable_runWithPriority@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:179832
$a@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:104594
gu@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:156574
iu@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:146901
Ka/<@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:104885
t.unstable_runWithPriority@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:179832
$a@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:104594
Ka@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:104830
Qa@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:104765
eu@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:143488
enqueueSetState@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:109589
k.prototype.setState@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:54130
t/n.syncActionResult@https://excalidraw.com/static/js/main.a1fcd27b.chunk.js:1:116851
e/<@https://excalidraw.com/static/js/main.a1fcd27b.chunk.js:1:123287
u@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:47414
l/i._invoke</<@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:47167
y/</e[t]@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:47771
r@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:2207
l@https://excalidraw.com/static/js/2.75b44755.chunk.js:2:2410

localStorage

{"i18nextLng":"en"}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EmrysMyrddincommented, Feb 22, 2020

Here is the new stack trace:

m.getTransform is not a function:

getTransform (renderer/renderScene.ts:47:42)
componentDidUpdate (index.tsx:2296:37)
p.focus&&p.focus();for (../node_modules/react-dom/cjs/react-dom.production.min.js:251:462)
unstable_runWithPriority (../node_modules/scheduler/cjs/scheduler.production.min.js:18:436)
dg (../node_modules/react-dom/cjs/react-dom.production.min.js:120:324)
Xj (../node_modules/react-dom/cjs/react-dom.production.min.js:244:436)
Lj (../node_modules/react-dom/cjs/react-dom.production.min.js:223:419)
ig (../node_modules/react-dom/cjs/react-dom.production.min.js:121:114)
unstable_runWithPriority (../node_modules/scheduler/cjs/scheduler.production.min.js:18:436)
dg (../node_modules/react-dom/cjs/react-dom.production.min.js:120:324)
ig (../node_modules/react-dom/cjs/react-dom.production.min.js:121:60)
dg (../node_modules/react-dom/cjs/react-dom.production.min.js:120:495)
Rg (../node_modules/react-dom/cjs/react-dom.production.min.js:214:155)
isMounted (../node_modules/react-dom/cjs/react-dom.production.min.js:133:236)
setState (../node_modules/react/cjs/react.production.min.js:13:230)
syncActionResult (index.tsx:704:11)
json=([0-9]+), (index.tsx:774:13)
tryCatch (../node_modules/regenerator-runtime/runtime.js:45:39)
context.dispatchException (../node_modules/regenerator-runtime/runtime.js:271:21)
function (../node_modules/regenerator-runtime/runtime.js:97:20)
asyncGeneratorStep (../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js:3:24)
_next (../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js:25:8)```
Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox ESR doesn't support context.getTransform #861 - GitHub
Stack trace m.getTransform is not a function: getTransform (renderer/renderScene.ts:47:42) componentDidUpdate (index.tsx:2301:37) ...
Read more >
CanvasRenderingContext2D.getTransform() - Web APIs | MDN
getTransform () method of the Canvas 2D API retrieves the current transformation matrix being applied to the context.
Read more >
CanvasRenderingContext2D.translate() - Web APIs | MDN
The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation to the current matrix.
Read more >
CanvasRenderingContext2D - Web APIs | MDN
Chrome Edge CanvasRenderingContext2D Full support. Chrome1. Toggle history Full support. Edge12. T... arc Full support. Chrome1. Toggle history Full support. Edge12. T... arcTo Full support. Chrome1....
Read more >
CanvasRenderingContext2D.getImageData() - Web APIs | MDN
The CanvasRenderingContext2D method getImageData() of the Canvas 2D API returns an ImageData object representing the underlying pixel data ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found