케이스 ce-0072-contenteditable-with-enterkeyhint-ko · 시나리오 scenario-enterkeyhint-behavior

contenteditable에서 enterkeyhint 속성이 작동하지 않음

OS: Android 14.0 기기: Smartphone Any 브라우저: Chrome 120.0 키보드: US 초안
enterkeyhintmobileandroidchrome

현상

모바일 키보드의 Enter 키 레이블을 제어하는 enterkeyhint 속성이 contenteditable 요소에서 작동하지 않습니다. 속성 값에 관계없이 Enter 키 레이블이 기본값으로 유지됩니다.

재현 예시

  1. enterkeyhint="send" 또는 enterkeyhint="search"가 있는 contenteditable div를 만듭니다.
  2. Android 기기에서 contenteditable에 포커스합니다.
  3. 가상 키보드의 Enter 키 레이블을 관찰합니다.
  4. 동일한 속성이 있는 표준 입력 요소와 비교합니다.

관찰된 동작

  • Android의 Chrome에서 contenteditable의 enterkeyhint가 무시됩니다.
  • Enter 키가 항상 기본 레이블을 표시합니다.
  • 사용자 정의가 불가능합니다.

예상 동작

  • enterkeyhint가 contenteditable 요소에서 작동해야 합니다.
  • Enter 키 레이블이 속성 값을 반영해야 합니다.
  • 동작이 표준 입력 요소와 일치해야 합니다.

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: Android 14.0
Device: Smartphone Any
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.