Closed AronBe closed 3 years ago
If you are rendering a custom JSX.Element in the renderHandle
prop you can set its style to have a borderBottomWidth
of 0px
to get rid of the border under the handle.
It could look like the following
renderHandle={() => <View style={{ borderBottomWidth: 0 }}> // rest of custom handle </View> }
Oh that simple, I though I have tried that, but seems like I failed somewhere :) thank you!
@BCarroll524 I thought it works, but now I am finding out this solution does not work actually. Neither I see any styles for the border used in the code. It is probably some positioning within the code and the only solution is top: 1
?
Check the example of the map screen, where the handle presents no border.
This library does not render any borders, you have full control on the handle
component
I am using
renderHandle
prop to show the handle, under which is 1px border set. How could I please remove it? The only solution I came up with is to move the renderHandle component bytop: 1
, which is not the greatest solution I assume?