when courser out in window
Closed this issue · 2 comments
sensecodevalue commented
커서가 화면 밖에 나갔을때, 없애는게 어떨까하는 이슈
function handleMouseOut(e: MouseEvent) {
cursorRef.current?.setAttribute('style', `display: none`);
}
window.addEventListener('mouseout', handleMouseOut);
이거 추가하면됨 금방올림
sensecodevalue commented
sensecodevalue commented