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

originalWindowHeight를 by lazy 문제점 #10

Open
Tm-Soft opened this issue Feb 8, 2024 · 0 comments
Open

originalWindowHeight를 by lazy 문제점 #10

Tm-Soft opened this issue Feb 8, 2024 · 0 comments

Comments

@Tm-Soft
Copy link

Tm-Soft commented Feb 8, 2024

private val originalWindowHeight by lazy { getWindowHeight() }

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

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

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