케이스 ce-0005-arrow-keys-skip-emoji-ko · 시나리오 scenario-caret-movement-with-emoji

contenteditable에서 화살표 키가 이모지를 건너뜀

OS: macOS 14.0 기기: Laptop MacBook Pro 브라우저: Chrome 120.0 키보드: US 초안
caretemojinavigation

현상

이모지를 포함하는 contenteditable 요소에서 좌우 화살표 키를 사용할 때 캐럿이 단일 시각적 위치로 이동하는 대신 전체 이모지 클러스터를 건너뛰는 경우가 있습니다.

재현 예시

  1. 편집 가능한 영역에 포커스합니다.
  2. 짧은 ASCII 단어를 입력합니다.
  3. 하나 이상의 이모지 문자를 삽입합니다 (예: macOS 이모지 선택기에서).
  4. 좌우 화살표 키를 사용하여 텍스트와 이모지 전체에서 캐럿을 이동합니다.

관찰된 동작

  • 캐럿이 이모지를 건너뛰어 전체 이모지 클러스터의 앞이나 뒤에 위치합니다.
  • 화살표 키로 클러스터 내부의 중간 캐럿 위치에 도달할 수 없습니다.

예상 동작

  • 캐럿이 시각적 위치 전체에서 일관되게 이동하거나, 최소한 동일한 환경에서 네이티브 <textarea>와 동일한 방식으로 동작해야 합니다.

참고사항

  • 이 동작은 특히 사용자가 이모지 주변의 텍스트를 선택하려고 할 때 선택 세분성에 영향을 줄 수 있습니다.
  • contenteditable에서 브라우저가 다른 편집 가능한 컨트롤과 비교하여 그래프 클러스터에 대한 캐럿 위치를 정의하는 방법을 조사합니다.

이 시나리오의 변형

케이스 OS 브라우저 상태
ce-0005-arrow-keys-skip-emoji-ko macOS 14.0 Chrome 120.0 초안
ce-0025-caret-position-emoji-edge-ko Windows 11 Edge 120.0 초안

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: macOS 14.0
Device: Laptop MacBook Pro
Browser: Chrome 120.0
Keyboard: US
Your environment
Sample HTML:
Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.