-
Notifications
You must be signed in to change notification settings - Fork 0
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
[SCRUM-56] 에러 및 로딩 대응 리팩토링 #58
Conversation
.transaction(value: store.isLoading) { transaction in | ||
// TODO: 11/24, LoadingView 분리 + fullscreen animation disable | ||
// TODO: 11.25 로딩 이외 다른 fullScreen들도 disabled됨 |
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.
그럼 transaction을 LoadingView 바로 밑으로 옮겨볼 수 있을려나
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.
엉 그것도 해봤는데, fullScreen에 대한 애니메이션이라 그런지 안먹더라구
.setFrameMeasure(space: .global, identifier: backgroundFrame) | ||
.getFrameMeasure { value in |
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.
음 이건 내가 봤을때 frameMeasure를 구현할때 사용한 onPreferenceChange가 인식을 못하는거 같은데
그냥 이런식으로 쓰면 아마 문제는 해결될거 같네
.setFrameMeasure(space: .global, identifier: backgroundFrame) | |
.getFrameMeasure { value in | |
.background { | |
GeometryReader { proxy in | |
Color.clear | |
.onChange(of: proxy.frame(in: .global)) { _, newValue in | |
store.width = newValue.width | |
} | |
} | |
} |
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.
그냥 만들어둔 모디파이어 쓸 수 있는 방법 더 알아보지 말고 우선 바로 geometryReader 사용하는 방법으로 수정할까?
[SCRUM-56] 에러 및 로딩 대응 리팩토링
무엇에 관한 PR 인가요? 🙋
원래 목표
하지만
-> 이것에 대해 삽질만 몇시간을 하다가 잠시 포기했습니다 ^0^
어떤 것을 작업하셨나요? 🛠
🌱 PR Point