SortableList item margin has $backgroundDefault color? #2538
-
Beta Was this translation helpful? Give feedback.
Answered by
lidord-wix
Apr 17, 2023
Replies: 1 comment 1 reply
-
Hello @YuyouWu,
Anyway, I found a solution for that with a new prop called
You can also install react-native-ui-lib@7.3.0-snapshot.2948 to check that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lidord-wix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @YuyouWu,
I tried to change this color to
'transparent'
and it causing some bugs:instead of:
elevation
on Android adds a shadow effect to make the element elevated ("closer" to the user).Android-transparent.webm
instead of:
Android-non-transparent.webm
Anyway, I found a solution for that with a new prop called
itemMargins
, please see #2561 and check it with your case.You can pass the prop directly to the SortableList component, for example:
You can also install react-native-ui-lib@7.3.0-snapshot.2948 to check that.
…