react-path-tooltip
Advanced tools
Comparing version 1.0.12 to 1.0.13
# CHANGELOG | ||
## 1.0.13 | ||
* Bug fix: crashed when tooltip text was too long and had no spaces | ||
## 1.0.12 | ||
@@ -4,0 +6,0 @@ * README fix |
@@ -93,3 +93,3 @@ import React, { useState, useEffect } from 'react'; | ||
return [inputString.slice(0, temp), inputString.slice(temp + 1)]; | ||
return temp !== -1 ? [inputString.slice(0, temp), inputString.slice(temp + 1)] : [inputString.slice(0, threshold), inputString.slice(threshold + 1)]; | ||
}; | ||
@@ -96,0 +96,0 @@ |
{ | ||
"name": "react-path-tooltip", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "displayName": "React Path Tooltip", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25568