Closed tleish closed 3 years ago
Found the problem. fastdom-strict monkey-patches window.fastdom
, so you need to have the fastdom singleton in the window scope.
import fastdom from "fastdom";
+ window.fastdom = fastdom;
//...
fastdom.measure(() => {
this.element.focus();
});
I have the following code
When including fastdom-strict, I get the error:
So I update the code to:
And I'm still getting the same error. What am I missing?