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.

TopNavigation leftControl does not display

See original GitHub issue

Issue type

I’m submitting a … (check one with “x”)

  • bug report
  • feature request

Issue description

Current behavior: The TopNavigation component does not display its leftControl component.

Expected behavior: To display it. Display the associated icon.

Steps to reproduce:

function createIcon(name) {
  return props => <Icon {...props} name={name} />
}
<TopNavigation
     leftControl={props => <TopNavigationAction {...props} icon={createIcon('arrow-back-outline')} />}
     title={currentDirectory}
/>

Related code: image

As you can see, the left arrow is not present.

Other information:

OS, device, package version

On iOS 13 simulator and react-native-web

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
dheraultcommented, Oct 30, 2019

A rebuild did the trick, still by looking at the picture I cannot help but think there is a bug somewhere. Must be emulator or server-related. I love your lib ❤️

1reaction
dheraultcommented, Oct 29, 2019

MY BAD ! –> leftControl accepts a node not a component

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I change the TopNavigationAction icon size
How can I change the TopNavigationAction icon size ... I'm trying to change the size of the icon for the TopNavigation leftControl.
Read more >
[Best solution]-Twitter Bootstrap navigation working on desktop but ...
Best coding solution for query Twitter Bootstrap navigation working on desktop but not mobile.
Read more >
KVM and Serial Access Clients Guide - Raritan
Press Left-Control and Num Lock simultaneously. The CIM setup menu will appear in the active window. 3. Set the language and mouse settings....
Read more >
Changelog - OpenXava
Fix: Module does not start showing a browser error with a headless Java, ... Fix: Some links to incorrect lessons in the top...
Read more >
Bug List - Bugs - Eclipse
This list is too long for Bugzilla's little mind; the Next/Prev/First/Last buttons won't appear on individual bugs. Hide Search Description.
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