question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LeftBar/RightBar UI block error

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
alexstanburycommented, Sep 27, 2021

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

0reactions
alexstanburycommented, Nov 18, 2021

@grahammendick Lovely! I’ll have a play around with it ASAP, cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception thrown while executing UI block #1337 - GitHub
I run a managed Expo app, that after updating to SDK 37 produced this error. Had to revert from 11.0.1 to 9.13.3. Issue...
Read more >
React Native: Exception thrown while executing UI block
Given that my experience is via a different component, this error probably means you're passing an undefined somewhere. I found the culprit by ......
Read more >
simplex skin - Guerilla Green - guerillagreen
jQuery UI - v1.12.1 - 2018-05-16 * http://jqueryui.com * Includes: draggable.css, ... .ui-widget-header .ui-state-error { border: 1px solid #cd0a0a; ...
Read more >
NAACL HLT 2010: Demonstrations - ACL Anthology
segment the page into large blocks based on its layout, including header, footer, left bar, right bar, main block, etc.
Read more >
aura - error saving lightning component ui:block
So, apparently not all aura components are released yet to lightning, but they're documented and are part of the open source framework as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found