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

Uncaught RangeError: Maximum call stack size exceeded in 4.2.5 version

Open sumanth448 opened this issue 4 years ago • 1 comments

react-dom.development.js:11102 Uncaught RangeError: Maximum call stack size exceeded at Function.keys () at deepEqual (tippy-react.esm.js:56) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62) at deepEqual (tippy-react.esm.js:62)

function deepEqual(x, y) { if (x === y) { return true; } else if (typeof x === 'object' && x != null && typeof y === 'object' && y != null) { if (Object.keys(x).length !== Object.keys(y).length) { return false; }

for (var prop in x) {
  if (y.hasOwnProperty(prop)) {
    if (!deepEqual(x[prop], y[prop])) {
      return false;
    }
  } else {
    return false;
  }
}

return true;

} else { return false; } }

sumanth448 avatar Mar 24 '21 14:03 sumanth448

Code reproduction?

atomiks avatar Oct 29 '21 11:10 atomiks