fix: Community display image & cover image rendering fixes (#15047)
This commit is contained in:
parent
3fc4c36ac6
commit
20e16e2f42
|
@ -58,7 +58,7 @@
|
|||
[animation]
|
||||
(reanimated/apply-animations-to-style
|
||||
{:transform [{:scale animation}]}
|
||||
{:border-radius 40
|
||||
{:border-radius 50
|
||||
:border-width 1
|
||||
:border-color colors/white
|
||||
:position :absolute
|
||||
|
|
|
@ -146,8 +146,11 @@
|
|||
[rn/view {:style {:height 151}}
|
||||
[rn/image
|
||||
{:source cover-image
|
||||
:style {:overflow :visible
|
||||
:flex 1}}]])
|
||||
;; Using negative margin-bottom as a workaround because on Android,
|
||||
;; ScrollView clips its children despite setting overflow: 'visible'.
|
||||
;; Related issue: https://github.com/facebook/react-native/issues/31218
|
||||
:style {:margin-bottom -16
|
||||
:flex 1}}]])
|
||||
(when children
|
||||
[rn/view
|
||||
{:flex 1
|
||||
|
|
Loading…
Reference in New Issue