-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(Tooltip): add default value in measure component #3550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Tooltip): add default value in measure component #3550
Conversation
|
Can you do |
|
|
|
Yes |
|
Updated yarn.lock 😉 |
Codecov Report
@@ Coverage Diff @@
## next #3550 +/- ##
==========================================
- Coverage 79.24% 79.07% -0.18%
==========================================
Files 87 87
Lines 1807 1811 +4
Branches 792 813 +21
==========================================
Hits 1432 1432
- Misses 369 373 +4
Partials 6 6
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
|
Thanks for the contribution 🎉 |
|
Fix it |
|
I'm waiting for this to be released so that I can use react-native-safe-area-context ^4.0.0 in my project! Figured commenting might be more helpful than opening an issue since there's already a fix. |


Motivation
If the tooltip got rendered in an FlatList an Tooltip render error could occur when running in an simulator with hermes.
Invariant Violation: [9217,"RCTView",11,{"position":"absolute","top":"<>","backgroundColor":0,"overflow":"visible"}] is not usable as a native method argumentSetting the default values fixed this.
Also described here already from another user:
#2237 (comment)
Fixes maybe this one #3085
Type of change
How Has This Been Tested?
Tested with locally adapt in the source code on Expo sample app
exampleappChecklist
yarn docs-build-apiAdditional context