Skip to content

Commit 9594e5e

Browse files
committed
[BOOK-288] fix: 감상평 가이드 버튼이 키보드에 가려지는 문제 해결
1 parent f01d86f commit 9594e5e

File tree

1 file changed

+2
-9
lines changed
  • feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/step

1 file changed

+2
-9
lines changed

feature/record/src/main/kotlin/com/ninecraft/booket/feature/record/step/ImpressionStep.kt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,11 @@ fun ImpressionStep(
7474

7575
LaunchedEffect(keyboardState, isImpressionTextFieldFocused) {
7676
if (keyboardState && isImpressionTextFieldFocused) {
77-
delay(100)
77+
delay(150)
7878
bringIntoViewRequester.bringIntoView()
7979
}
8080
}
8181

82-
LaunchedEffect(Unit) {
83-
if (state.impressionState.text.isEmpty()) {
84-
focusRequester.requestFocus()
85-
keyboardController?.show()
86-
}
87-
}
88-
8982
Column(
9083
modifier = modifier
9184
.fillMaxSize()
@@ -97,7 +90,7 @@ fun ImpressionStep(
9790
.fillMaxWidth()
9891
.weight(1f)
9992
.padding(horizontal = ReedTheme.spacing.spacing5)
100-
.padding(bottom = 12.dp)
93+
.padding(bottom = 16.dp)
10194
.verticalScroll(scrollState),
10295
) {
10396
Text(

0 commit comments

Comments
 (0)