케이스 ce-0129-undo-redo-stack-cleared-ko · 시나리오 scenario-undo-redo-stack

포커스 변경 시 실행 취소 스택이 예상치 못하게 지워짐

OS: Windows 11 기기: Desktop or Laptop Any 브라우저: Chrome 120.0 키보드: US 초안
undoredofocuschrome

현상

contenteditable 요소가 포커스를 잃고 다시 얻을 때 실행 취소 스택이 예상치 못하게 지워질 수 있습니다. 사용자는 포커스 변경 전에 수행된 작업을 실행 취소할 수 없습니다.

재현 예시

  1. contenteditable에서 여러 편집을 수행합니다
  2. 외부를 클릭하여 요소를 블러합니다
  3. 다시 클릭하여 요소에 포커스합니다
  4. 실행 취소를 위해 Ctrl+Z를 누릅니다

관찰된 동작

  • 실행 취소 스택이 지워집니다
  • 이전 작업을 실행 취소할 수 없습니다
  • 실행 취소 기록이 손실됩니다
  • 사용자가 실행 취소 능력을 잃습니다

예상 동작

  • 실행 취소 스택이 포커스 변경을 통해 보존되어야 합니다
  • 또는 동작이 예측 가능해야 합니다
  • 사용자가 이전 작업을 실행 취소할 수 있어야 합니다
  • 기록이 유지되어야 합니다

브라우저 비교

  • Chrome/Edge: 스택이 지워질 수 있음 (이 케이스)
  • Firefox: 유사한 스택 지우기 동작
  • Safari: 스택 지우기가 가장 예측 불가능함

참고 및 해결 방법 가능한 방향

  • 포커스에 걸쳐 지속되는 사용자 정의 실행 취소/다시 실행 구현
  • 메모리에 실행 취소 스택 저장
  • 요소가 포커스를 다시 얻을 때 스택 복원
  • 사용자에게 실행 취소 스택 동작 문서화

이 시나리오의 변형

케이스 OS 브라우저 상태
ce-0113-undo-redo-custom-ops-ko Windows 11 Chrome 120.0 초안
ce-0129-undo-redo-stack-cleared-ko Windows 11 Chrome 120.0 초안
ce-0141-undo-redo-multiple-ops-ko Windows 11 Chrome 120.0 초안
ce-0150-undo-redo-custom-formatting-ko Windows 11 Chrome 120.0 초안
ce-0173-undo-redo-custom-text-insert-ko Windows 11 Chrome 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: Windows 11
Device: Desktop or Laptop 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.