Repository navigation
feat: 네이티브 키보드 입력 + IME 조합 처리 (Day 1 후반) - #3
Merged
Merged
Conversation
- 탭 → 오프스크린 input focus → 키보드 소환 - compositionend 시점에만 글자 실체화, 조합 중엔 상단 고스트로 표시 - 조합 중 input 이벤트는 isComposing 으로 걸러 중복 스폰 방지 - 영문/숫자/기호는 input 이벤트에서 즉시 낙하, 공백은 스킵 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013jzX6PJvGgLYvdvXBBRS4m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
목표
내 이름을 쳐서 떨어뜨린다 (PRD Day 1 체크포인트). 탭하면 네이티브 키보드가 올라오고, 타이핑한 글자가 실제로 떨어진다.
변경 내용 (파일 2개)
src/lib/input.ts(신규) — 오프스크린<input>+ IME 이벤트 처리.compositionend)에만 물체 생성.ㅎ → 하 → 한중간 단계는 화면 상단에 고스트로만 흐리게 표시 (PRD §4.1).input이벤트는isComposing으로 걸러 중복 스폰 방지. iOS/안드로이드의 이벤트 순서 차이는 "flush 후 value 비우기" 패턴으로 흡수.src/pages/index.astro— 탭 핸들러를 랜덤 글자 스폰 →input.focus()(키보드 소환)로 교체, 조합 고스트 요소 추가.확인 방법 (실기기 필수 — PRD §6)
머지 후 https://99mini.github.io/gravitype/ 에서:
다음
머지 확인 후 물리 튜닝 (
src/lib/constants.ts) 진행 예정.Generated by Claude Code