react-tooltip icon indicating copy to clipboard operation
react-tooltip copied to clipboard

Dependency uuid latest makes react-tooltip not IE9-11 friendly

Open teaalltr opened this issue 3 years ago • 2 comments

The uuid dependency uses a random number generator that has problems with missing Web API in IE9-11. Options are:

  • use an older version of the lib?
  • use v1 or v2 as imports of the uuid library and specify a basic custom random number generator function

The latter is preferable, since we don't really need our UUIDs to be cryptographically secure, we just need some pseudorandom uuid with reasonable randomness, so even Math.random() would work well for us

teaalltr avatar Feb 17 '22 11:02 teaalltr

Do you have opportunities to migrate users to Edge? Many libraries are dropping IE support due to the low percentage of users globally running IE now.

jafin avatar Mar 31 '22 23:03 jafin

Unfortunately many customers use Win 7 and even Vista and moving away from IE would also break some Active Directory/ActiveX compatibility. Hard times

teaalltr avatar Apr 01 '22 19:04 teaalltr

Hi @jxxp9, that was a great suggestion, but not only uuid package dropping the support for IE, but there also are other dependencies that are doing the same and we are upgrading our code and dependency.

If we add the uuid as optional, probably something else will break the application into the IE.

I'll close that issue, thanks and I'm sorry.

danielbarion avatar Oct 14 '22 14:10 danielbarion