-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[PC-000] 약관 상세 화면 웹뷰가 렌더링 되기 이전 TopBar가 가려지던 것 해결 #28
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.fillMaxWidth | |
import androidx.compose.foundation.layout.padding | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.draw.clipToBounds | ||
import androidx.compose.ui.res.stringResource | ||
import androidx.compose.ui.unit.dp | ||
import com.puzzle.designsystem.R | ||
|
@@ -37,7 +38,8 @@ internal fun RegistrationDetailScreen( | |
url = term.content, | ||
modifier = Modifier | ||
.fillMaxWidth() | ||
.weight(1f), | ||
.weight(1f) | ||
.clipToBounds(), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. LayoutInspector 상으로는 레이아웃이 적절하게 배치되어있는데, 아무래도 WebView가 주어진 영역을 침범하는 것 같더라고요.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 느낌 상으로는 weight(1f)로도 될 거 같은데... 웹뷰만의 특징인건가...?! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
그런가봐요.... 잘 모르겠네요 ㅠㅠㅠㅠㅠㅠ |
||
) | ||
|
||
PieceSolidButton( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 녀석 때문에 LayoutInspector가 동작안하고 있었습니다..
제거하니까 동작하더군요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
허허 저 코드가 항상 뭐하는 코드인지 잘 몰랐는데 한번 찾아봐야겠군요...!!