Releases: AndreiCalazans/rn-tooltip
v3.0.3 Patch release removing PropTypes
Includes
Removal of PropTypes 1d052c6
Better support for height="auto"
This release is driven by the following PR #63. It contains a fix for a misbehavior around height="auto"
where it crashed.
Commits
1fc38b7 Remove height offset in coordinate calculation
b88de39 Update snapshots
fb3aba7 Set position from bottom when past middle line
4a9be23 Prevent crash on auto height not a number
Thanks
Thank you @isilher for your contribution.
Testing
The test app contains a screen now that take into account the fixed situation: https://github.com/AndreiCalazans/rnTooltipTester
Right-to-Left Text Support
This release is driven by the following PR: #55
@abhigna-shah implemented RTL support. And thanks to @ishabo who tested that it works on his app we will now have a V3.0.0 rn-tooltip that supports RTL.
New props actionType and pointerStyle
Migration
Note there are breaking changes if you are coming from prior to v2.0.0
toggleOnPress
no longer exist, its equivalent is actionType="press"
which is enabled by default. See documentation for actionType
for more info.
Commits
90b50a0 (origin/triangle) feat: enable tooltip pointer customization
064c110 feat: action type to toggle tooltip
4a6dc43 Merge pull request #41 from alveshelio/feat/add-action-option
Thanks
Special thanks to https://github.com/alveshelio and https://github.com/hakanozkaptan for sending PRs to improve this library.
Expand touchable props
Improve Tooltip by allowing props injection to the TouchableOpacity wrapper.
Support for percent values on tooltip's width and height.
Smaller package, TS types, and new overlayColor prop.
- New overlayColor property added by @MuqThe2nd: #12
- TS types: 90e9e77
Package is now just package size: 123.1 kB
V1.0.1
Major fixes for proper positioning inside scroll views thanks to @hegelstad.