Here are some more errors that come from the child theme but not when we use the parent theme:

Uncaught TypeError: Cannot read property ‘focus’ of undefined at <anonymous>:1:58

This occurs when clicking Add Features Widget from the customizer. If we go to Widgets and then add it there, it works.