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

[3.0] Window > ESC 기능 버그 수정 #1003

Closed
sej-dev opened this issue Jan 3, 2022 · 0 comments
Closed

[3.0] Window > ESC 기능 버그 수정 #1003

sej-dev opened this issue Jan 3, 2022 · 0 comments

Comments

@sej-dev
Copy link
Collaborator

sej-dev commented Jan 3, 2022

[3.0] EVUI > Window ESC 기능 버그 수정

#996
Window에 Escape key 누르면 닫히는 기능 추가와 관련하여 버그 수정

[ 버그 상황 ]
v-for로 Draggable Window를 여러 개 열었을 때 가장 상단의 Window만 닫히고 나머지 Window는 닫히지 않음

[ 보완 내역 ]
Window가 열리고 닫히는 경우의 수를 lifecycle hook과 관련하여 세분화하여 개선

@sej-dev sej-dev changed the title [3.0] EVUI > Window ESC 기능 버그 수정 [3.0] Window ESC 기능 버그 수정 Jan 4, 2022
@sej-dev sej-dev changed the title [3.0] Window ESC 기능 버그 수정 [3.0] Window > ESC 기능 버그 수정 Jan 4, 2022
sej-dev added a commit that referenced this issue Jan 4, 2022
################
- watch를 통해 Window의 열림/닫힘 관리했던 코드 -> 라이프사이클 훅 사용하도록 변경
sej-dev added a commit that referenced this issue Jan 4, 2022
################
- Window esc-close 관련하여 문서에 예시 코드 추가
sej-dev added a commit that referenced this issue Jan 4, 2022
################
- onUpdated, onBeforeUpdate -> watch로 이동
- === false -> !
sej-dev added a commit that referenced this issue Jan 5, 2022
################
- 간헐적으로 removeEventListener가 되지 않아 keydown 이벤트리스너가 중복 등록되는 문제 발생하여 관련 코드 제거
@sej-dev sej-dev closed this as completed Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant