navigation: LeftBar/RightBar UI block error

Getting an exception error while having an Image component as a child, for both LeftBar and RightBar.

Screen Shot 2021-01-16 at 10 47 42 AM
<LeftBar>
  <Image source={{uri: "https://source.unsplash.com/-djRG1vB1pw/100x100"}} style={{...}} />
</LeftBar>

I tried using BarButton and works well, but displays a blue box instead of the actual image.

<LeftBar>
  <BarButton image={{uri: "https://source.unsplash.com/-djRG1vB1pw/100x100"}} />
</LeftBar>
Screen Shot 2021-01-16 at 10 51 55 AM

The TitleBar however, works as expected.

<TitleBar>
  <Image
    source={{uri: "https://source.unsplash.com/-djRG1vB1pw/100x100"}}
    style={{...}}
  />
</TitleBar>
Screen Shot 2021-01-16 at 10 57 54 AM

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 24 (14 by maintainers)

Most upvoted comments

Ah that’s a shame, I should be able to make do with just a static image. Thanks for the quick replies 👍