TedKeyboardObserver icon indicating copy to clipboard operation
TedKeyboardObserver copied to clipboard

originalWindowHeight를 by lazy 문제점

Open Enso-Soft opened this issue 2 years ago • 0 comments

private val originalWindowHeight by lazy { getWindowHeight() }

사용 시점에서의 초기화로 인한 특정 기기에서 originalWindowHeight가 키보드가 떠있는 상태의 높이를 저장하게 되는 문제점이 발생 됨 결과적으로 isShow 결과가 반대로 표시 되게 됨.

테드님 혹시 늦은 초기화로 바꾼 커밋이 있던데 그 이유를 알 수 있을까요?

Enso-Soft avatar Feb 08 '24 00:02 Enso-Soft