Skip to content

Conversation

1fabiopereira
Copy link
Contributor

@1fabiopereira 1fabiopereira commented Jun 11, 2020

Added option to enable or disable shadow, this avoid warnings on IOS devices.
fix: #81

Copy link
Owner

@jasongaare jasongaare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! Thank you for this PR.

Could you please invert it though so that the shadows are enabled by default? i.e. could you:

  1. make the prop title disableShadow (default false)
  2. make the description something similar to: "When true, tooltips will not appear elevated. Disabling shadows will remove the warning: RCTView has a shadow set but cannot calculate shadow efficiently"

@1fabiopereira
Copy link
Contributor Author

Done! All changes that you proposed.

@jasongaare
Copy link
Owner

wow I am terribly sorry I must have missed you made the changes!

@jasongaare jasongaare merged commit 3821b0d into jasongaare:master Jul 24, 2020
@jasongaare
Copy link
Owner

This is live in version 1.1.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View has a shadow set but cannot calculate shadow efficiently
2 participants