Skip to content

[HOTFIX/#176] EditText에서 HideKeyboard 수정#178

Merged
Marchbreeze merged 3 commits intodevelopfrom
hotfix/#176-hide-keyboard
Jan 19, 2024
Merged

[HOTFIX/#176] EditText에서 HideKeyboard 수정#178
Marchbreeze merged 3 commits intodevelopfrom
hotfix/#176-hide-keyboard

Conversation

@Marchbreeze
Copy link
Member

⛳️ Work Description

  • EditText에서 HideKeyboard 수정
  • 투두 조회에서 링크 클릭 시 웹뷰 이동
  • version code 11 업데이트

📸 Screenshot

KakaoTalk_Video_2024-01-19-22-31-03-ezgif com-video-to-gif-converter

📢 To Reviewers

  • 우하하

@Marchbreeze Marchbreeze added 상호 🍀 CHORE 🎀 버전 코드 수정, 패키지 구조 변경, 타입 및 변수명 변경 등의 작은 변경 labels Jan 19, 2024
@Marchbreeze Marchbreeze self-assigned this Jan 19, 2024
Copy link
Member

@chattymin chattymin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!

Comment on lines +26 to +39
if (ev?.action == MotionEvent.ACTION_UP){
val currentFocus = currentFocus
if (currentFocus != null && isTouchOutsideView(currentFocus, ev)){
hideKeyboard(currentFocus)
currentFocus.clearFocus()
}
}
return super.dispatchTouchEvent(ev)
}

private fun isTouchOutsideView(view: View, ev: MotionEvent): Boolean {
val outRect = Rect(view.left, view.top, view.right, view.bottom)
return !outRect.contains(ev.rawX.toInt(), ev.rawY.toInt())
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!김상호는 신이야!!!
다음 프젝때부터 잘 쇽샥하겠습니다 ㅋㅋ

@Marchbreeze Marchbreeze merged commit a34f68b into develop Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CHORE 🎀 버전 코드 수정, 패키지 구조 변경, 타입 및 변수명 변경 등의 작은 변경 상호 🍀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[HOTFIX] EditText에서 HideKeyboard 수정

2 participants

Comments