Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caret 동일 블럭 입력 처리 #8

Open
hyonun321 opened this issue Jan 14, 2025 · 0 comments
Open

Caret 동일 블럭 입력 처리 #8

hyonun321 opened this issue Jan 14, 2025 · 0 comments
Labels
BE Back End FE Front End Refactor refactor codes

Comments

@hyonun321
Copy link
Collaborator

🛠️ 리팩토링 내용

  • 문제 :
    • 동일한 블럭에 입력했을때 caret이 이상한 곳으로 이동하는 문제
    • 한글 컴포징중일때 컴포징 이벤트가 종료되는 문제
  • 원인 :
    • 원격 연산이 발생했을 때 블록이 리렌더링 되어 캐럿의 위치가 초기화됨
    • 블록이 리렌더링되면서 컴포징 이벤트가 종료됨. 이로 인해 컴포징중이던 글자가 그대로 입력됨
  • 주의할 점 :
    • 반드시 동일 블럭 캐럿이 정상적으로 관리 안될때와 관리 될때의 영상을 기록할 것
    • 구체적으로 어떤 방식들을 시도했는지 기록할 것

작업 내용

  • 해결 :
    • 캐럿 관리 로직 개선을 통해 원격연산을 통한 리렌더링이 발생해도 캐럿의 위치를 정확하게 위치시키도록 수정
    • 한글 컴포징중일 경우 원격 연산에 의한 리렌더링을 막고 별도의 버퍼에 연산을 저장해 두고 컴포징이 완료되면 해당 연산을 적용하는 방식 적용

예상 소요 시간 (선택)

  • 완료하기까지 예상되는 소요 시간을 작성해주세요.

참고 자료 (선택)

  • 기능을 구현하기 위한 참고자료를 작성해주세요.
@minjungw00 minjungw00 added Refactor refactor codes FE Front End BE Back End labels Jan 14, 2025
github-actions bot added a commit that referenced this issue Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE Back End FE Front End Refactor refactor codes
Projects
None yet
Development

No branches or pull requests

2 participants