Hi there,
I have a woocommerce product where you can select a google font. The first time when you open de dropdown field and select a font the preveiw changes and the dropdown wil dissapear.
The second time you op the dropdown to select a font, the dropdown wont close i cant see the preview that is underneath anymore giving me the following error:
Uncaught TypeError: Cannot read property ‘offsetTop’ of undefined
at Fontselect.moveToSelected (fontselect.js?ver=18.4:100)
at Fontselect.toggleDrop (fontselect.js?ver=18.4:75)
at HTMLSpanElement.<anonymous> (fontselect.js?ver=18.4:13)
at HTMLSpanElement.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLSpanElement.r.handle (jquery.js?ver=1.12.4-wp:3)
When i do display:none on the dropdown field i can see the preview field is actullay working fine but the dropdown of the font picker is just overlaying in and i can’t close it anymore.
I have everything updated to the latest version possible.
http://prntscr.com/p83cbp
When i do display non the the dropdown element you can see it’s still working.
http://prntscr.com/p83crm