You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error when i load a new fen to the board
callstack:
Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of null
at HTMLElement._getAnimationStyles (chessboard-element.js?a3ca:504)
at HTMLElement._renderBoard (chessboard-element.js?a3ca:435)
at HTMLElement.render (chessboard-element.js?a3ca:330)
at HTMLElement.update (lit-element.js?0906:219)
at HTMLElement.performUpdate (updating-element.js?b22b:554)
at HTMLElement._enqueueUpdate (updating-element.js?b22b:507)
It still load the position without issue but i don't know if this is a serious issue or i just ignore it.
I'm testing it in a react application and loading the script in the entry point 'index.js' of the application
// First line of index.js
import 'chessboard-element';
The text was updated successfully, but these errors were encountered:
i prepared an exemple using 'create react app' and i integrated chessboard-element into that project
you just need to click randomly and you will have the error
I'm getting this error when i load a new fen to the board
callstack:
Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of null
at HTMLElement._getAnimationStyles (chessboard-element.js?a3ca:504)
at HTMLElement._renderBoard (chessboard-element.js?a3ca:435)
at HTMLElement.render (chessboard-element.js?a3ca:330)
at HTMLElement.update (lit-element.js?0906:219)
at HTMLElement.performUpdate (updating-element.js?b22b:554)
at HTMLElement._enqueueUpdate (updating-element.js?b22b:507)
It still load the position without issue but i don't know if this is a serious issue or i just ignore it.
I'm testing it in a react application and loading the script in the entry point 'index.js' of the application
// First line of index.js
import 'chessboard-element';
The text was updated successfully, but these errors were encountered: