-
Notifications
You must be signed in to change notification settings - Fork 987
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
Design fixes for profile options #15966
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 |
---|---|---|
|
@@ -69,12 +69,17 @@ | |
(when js/goog.DEBUG | ||
[reloader/reload-view])])))) | ||
|
||
; Designs require bottom inset to be bigger than safe area, otherwise it is too close to the bottom | ||
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. Do you think its better if we move this block of code to 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. Not sure, to be honest. Safe area is used in a lot of different contexts and the file 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. Hmm I can understand why you did this, to be honest in most cases i do this too. The thought process behind my original comment was this , (def bottom-sheet
(reagent/reactify-component
(fn []
(let [{:keys [sheets hide?]} (rf/sub [:bottom-sheet])
sheet (last sheets)
insets (safe-area/bottom-sheet-insets)]
^{:key (str "sheet" @reloader/cnt)}
[:<>
[inactive] But totally upto you, I don't have a very strong opinion on this :) 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. I checked all the usages of In general I think that developer who opened |
||
(defn bottom-sheet-insets | ||
[] | ||
(assoc (safe-area/get-insets) :bottom 55)) | ||
|
||
(def bottom-sheet | ||
(reagent/reactify-component | ||
(fn [] | ||
(let [{:keys [sheets hide?]} (rf/sub [:bottom-sheet]) | ||
sheet (last sheets) | ||
insets (safe-area/get-insets)] | ||
insets (bottom-sheet-insets)] | ||
^{:key (str "sheet" @reloader/cnt)} | ||
[:<> | ||
[inactive] | ||
|
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.
Do we have issues for blur on Android here? Asking so I can try to fix it here #15953
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.
Yeah, with
blur/view
it looks incorrect on AndroidThere 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.
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.
Thanks, I'll try to fix it on my PR 👍