showFor 가 호출되면 title 속성을 즉시 제거하고 titleMap 에 저장한 뒤 setTimeout 으로 지연. 지연 중에 마우스가 벗어나 handleOut 가 호출되어도 triggerRef 는 아직 null 이라 hide() 가 title 을 복원하지 못해 해당 요소의 title 이 영구 제거되고 이후 [title] 선택자에 걸리지 않아 툴팁이 안 뜸. - pendingRef 추가해 "delay 중 title 제거된 타겟" 추적 - hide / showFor / handleOver / handleOut 모두 pendingRef 고려해 복원 - 타이머 중 다른 타겟으로 이동 / 같은 타겟 반복 hover 케이스 처리 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.