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

Toast 위치 수정 필요 #260

Open
Gael-Android opened this issue Feb 29, 2024 · 1 comment
Open

Toast 위치 수정 필요 #260

Gael-Android opened this issue Feb 29, 2024 · 1 comment

Comments

@Gael-Android
Copy link
Contributor

Gael-Android commented Feb 29, 2024

문제

추측

  • Yds에 존재하는 Toast는 YdsScaffold 내에서 일어남.
  • 즉, YdsScaffold는 해당 화면을 가득채우고 있으며, bottomBar는 하단바를 담당함
  • 하지만 현재 Soomsil은 하단바를 외부 Fragment에서 사용함
  • 그렇기때문에 위의 검은 박스와 같이 bottomBar는 기존 BottomBar 위에 위치함.
  • Compose의 Toast는 YdsScaffold를 기준으로 위치를 잡고 보여짐(72.dp)
  • 그렇기 때문의 위의 gif에 보여지듯 Toast의 위치는 기존 Bottom바가 아닌 YdsScaffold에 있어야만 하는 bottomBar 위에 위치하게 된 것

해결방안

  • Soomsil의 모든 하단 바를 Yds-compose의 하단바로 교체 -> 화면을 담담하는게 순수 YdsScaffold로 변경
  • 하지만 위의 과정은 오래걸릴 task
  • 그래서 일단 기존 offset 72.dp에 bottomBar 고유크기인 56.dp를 뺀 16.dp를 변경가능한 offset으로 제안함
@giovannijunseokim
Copy link
Contributor

시간상 제안해주신 오프셋 사용하는게 좋은 방법일 것 같습니다 !

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

2 participants