Go to www.hooktheory.com

Selecting 'Sections' crashes hookpad

Just click on this

I have the same issue. Using latest Firefox build on Mac.

In componentDidMount this.refSvgScore is {current: null} (i.e. the refHook hasn’t been set yet), thus the subsequent this.maxY = parseInt(getComputedStyle(this.refSvgScore.current.height)), throws because the argument of getComputedStyle is undefined (ie not a DOM element).

Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
  at _0x464423.componentDidMount (main.a567fe5e.chunk.js:61275)

fwiw.

Same problem with latest Firefox on Mac.

This is a great feature. I hope it won’t be too long before this bug is fixed.

@chris @Ryan @dave please fix this soon

Sorry all, we’ll get to this right away

Hi all, this has been fixed in 2.18.1

1 Like