I created a calculator application in React and overall, it's working fine, however...
I've noticed that when I hold a click longer, it only registers as a click if the mouse was pressed down and released on the button itself.
Although I understand that margin is not clickable, I am unable to utilize position in this particular application.
The issue arises when the button is animated and the cursor is not directly over the button upon release. Is there a way to prevent this problem and ensure that it functions correctly?
Link to the repository: https://github.com/FloweDewolf/calculator
Calculator link: https://flowedewolf.github.io/calculator
Thank you for any assistance provided!