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.

Invalid width of type string supplied to overlayLabelWrapper

See original GitHub issue

Happens with the basic example from README:

screen shot 2017-10-05 at 12 33 42

Props width and height shouldn’t be of type string as described here: https://github.com/alexbrillant/react-native-deck-swiper#overlaylabelwrapperstyle-default-props

Wouldn’t it be better to use flexbox and use alignSelf: 'stretch' ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
designorantcommented, Oct 5, 2017

@miclaus I see, apologies.

@alexbrillant Looks like we should bump RN in package.json to 0.42.3. See: https://github.com/facebook/react-native/releases/tag/v0.42.3

1reaction
miclauscommented, Oct 5, 2017

@designorant no worries, thank’s for the version tip, i’ll give that a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Possible to use flex instead of absolute positioning ... - GitHub
The has a calculated height of 627 which is somehow completely wrong (too big) and ... Invalid width of type string supplied to...
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