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

[FIX/#163] imePadding 키보드 이슈 해결 #181

Merged
merged 4 commits into from
Jan 24, 2025

Conversation

angryPodo
Copy link
Collaborator

Related issue 🛠

Work Description ✏️

  • imePadding의 시스템 패딩이 적용되는 이슈 해결

To Reviewers 📢

감사합니다~

@angryPodo angryPodo added 💙민재💙 💙민재💙 FEAT✨ 새로운 기능 구현 labels Jan 24, 2025
@angryPodo angryPodo self-assigned this Jan 24, 2025
@angryPodo angryPodo requested a review from a team as a code owner January 24, 2025 02:45
@angryPodo angryPodo linked an issue Jan 24, 2025 that may be closed by this pull request
Copy link
Member

@Roel4990 Roel4990 left a comment

Choose a reason for hiding this comment

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

LGTM~ 🚀🚀🚀🚀🚀 확장함수 좋습니다~

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.

LGTM!!!!

Comment on lines +81 to +91
fun Modifier.advancedImePadding() = composed {
var consumePadding by remember { mutableStateOf(0) }
onGloballyPositioned { coordinates ->
val rootCoordinate = coordinates.findRootCoordinates()
val bottom = coordinates.positionInWindow().y + coordinates.size.height

consumePadding = (rootCoordinate.size.height - bottom).toInt()
}
.consumeWindowInsets(PaddingValues(bottom = (consumePadding / LocalDensity.current.density).dp))
.imePadding()
}
Copy link
Member

Choose a reason for hiding this comment

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

개쩌네요
공부하고 쇽샥해가겠습니다 ㅋㅋ

Copy link
Collaborator

@Hyobeen-Park Hyobeen-Park left a comment

Choose a reason for hiding this comment

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

와 짱이다!!! 어푸🚀🚀🚀🚀

@angryPodo angryPodo merged commit 4b235d9 into develop Jan 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT✨ 새로운 기능 구현 💙민재💙 💙민재💙
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FIX] 등록 스크린 1단계 키보드 패딩 이슈
4 participants