React VR Image Border disappears after more elements appear

I have a view with the following markup. What's weird is that if I include more than one of these views in my module, some of the borders will disappear. What's even stranger to me is that the borders are all on the page loading, but as soon as all the images are finished, I lose some borders. Does anyone know why I might lose my borders when more image tags are added? I have attached a photo of what I see below.

      <View style={{
        flex: 1,
        flexDirection: 'row'
      }}>
        <Image source={asset('kw1.jpg')}
               style={{
                borderWidth: 0.1,
                borderColor: 'red',
                width: 1,
                height: 1,
                transform: [{translate: [0, 0, -3]}, {rotateY: 30}]
               }}
        />

        <Image source={asset('kw2.jpg')}
               style={{
                borderWidth: 0.1,
                borderColor: 'red',
                width: 1,
                height: 1,
                transform: [{translate: [0, 0, -3]}, {rotateY: 0}]
               }}
        />

        <Image source={asset('kw3.jpg')}
               style={{
                borderWidth: 0.1,
                borderColor: 'red',
                width: 1,
                height: 1,
                transform: [{translate: [0, 0, -3]}, {rotateY: -30}]
               }}
        />

        <Image source={asset('kw4.jpg')}
               style={{
                borderWidth: 0.1,
                borderColor: 'red',
                width: 1,
                height: 1,
                transform: [{translate: [0, 0, -3]}, {rotateY: -30}]
               }}
        />
      </View>

      

enter image description here

+3
reactjs react-vr


source to share


No one has answered this question yet

Check out similar questions:

438
Show or hide an element in the reactor
317
Change the post-render code?
196
React ignores the "for" attribute of the label element
158
React - correct way to pass element state of an element to sibling / parent?
3
The reaction component appears and disappears instantly
2
How to keep a fixed item on screen in react-VR mode
2
edit vr border not working
0
Using React Context in Activity 360 - Invariant Violation: Element Type Invalid
0
ReactJS - Image not loaded
0
Unable to navigate to another page in a responsive native



All Articles
Loading...
X
Show
Funny
Dev
Pics