Closed sharifpour closed 1 year ago
When the width of the element is 0, the fitts calculation returns infinity and then it leads to the JS memory heap out and process termination. This PR solves the issue.
Related to issue #28
Good find! Can you fix the linting and use !==?
!==
Done! 👍
Thanks, merged now!
Released as v1.1.19
v1.1.19
When the width of the element is 0, the fitts calculation returns infinity and then it leads to the JS memory heap out and process termination. This PR solves the issue.
Related to issue #28