-
-
Notifications
You must be signed in to change notification settings - Fork 276
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(suite-native): bottomsheet container has fixed size #15853
Conversation
🚀 Expo preview is ready!
|
width: SCREEN_SIZE.width, | ||
height: SCREEN_SIZE.height, |
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.
What about using EnvUtils
instead?
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.
Yes, and the name screen_size is confusing since it is window size...
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.
EnvUtils use the same thing under the hood. But sure I can use it
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.
Yes, that is why you should use it...
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.
We should probably then replace all usage of Dimensions.get('screen')
and replace it by this through the app, because that is how it is being used for now.
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.
changed in f379a0f
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.
Yes, we should... Thanks for this change!
/rebase |
Start rebasing: https://github.com/trezor/trezor-suite/actions/runs/12254147562 |
f379a0f
to
aac9d29
Compare
make fixed size container for bottomsheet not to jump
Related Issue
Resolve #15852
Screenshots:
Screen.Recording.2024-12-09.at.23.19.41.mov