jetstreamapp / jetstream

A better way to work on Salesforce
https://getjetstream.app/
Other
89 stars 18 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'parent') #819

Open paustint opened 7 months ago

paustint commented 7 months ago

This is somehow related to keyboard navigation, but has not reproducible.

Attempts:

Demo showing that everything works on my machine.... 🤷 https://jam.dev/c/9ff76942-5714-47ef-a917-04fb1ac389e7

View details in Rollbar: https://app.rollbar.com/a/jetstream/fix/item/Jetstream/1396

TypeError: Cannot read properties of undefined (reading 'parent')
  File "https://getjetstream.app/index-xTjQOZ96.js", line 459, in n$e
  File "https://getjetstream.app/index-xTjQOZ96.js", line 459, in Gt
  File "https://getjetstream.app/index-xTjQOZ96.js", line 459, in vr
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in Object.jZ
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in WZ
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in VZ
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in OR
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in BF
  File "https://getjetstream.app/index-xTjQOZ96.js", line 71, in [anonymous]
  File "https://getjetstream.app/index-xTjQOZ96.js", line 74, in cC

Actual stacktrace

Cannot read properties of undefined (reading 'parent')
TypeError: Cannot read properties of undefined (reading 'parent')
  File "../../../node_modules/react-data-grid/lib/bundle.js", line 227, in n$e
        let parent = nextColumn.parent;
  File "../../../node_modules/react-data-grid/lib/bundle.js", line 2531, in Gt
        const nextSelectedCellPosition = getNextSelectedCellPosition({
  File "../../../node_modules/react-data-grid/lib/bundle.js", line 2278, in vr
            navigate(event);
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 54, in Object.jZ
    typeof c)throw Error(p(231,b,typeof c));return c}var Lb=!1;if(ia)try{var Mb={};Object.definePrope...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 54, in WZ
    typeof c)throw Error(p(231,b,typeof c));return c}var Lb=!1;if(ia)try{var Mb={};Object.definePrope...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 55, in VZ
    function Ub(a,b,c,d,e,f,g,h,k){Tb.apply(this,arguments);if(Ob){if(Ob){var l=Pb;Ob=!1;Pb=null}else...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 105, in OR
    function nf(a,b,c){var d=a.type||"unknown-event";a.currentTarget=c;Ub(d,b,void 0,a);a.currentTarg...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 106, in BF
    function se(a,b){b=0!==(b&4);for(var c=0;c<a.length;c++){var d=a[c],e=d.event;d=d.listeners;a:{va...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 117, in [anonymous]
    0<d.length&&(e=new Ld("onBeforeInput","beforeinput",null,c,e),g.push({event:e,listeners:d}),e.dat...
  File "../../../node_modules/react-dom/cjs/react-dom.production.min.js", line 274, in cC
    function Rk(a,b){var c=K;K|=1;try{return a(b)}finally{K=c,0===K&&(Hj=B()+500,fg&&jg())}}function ...
paustint commented 7 months ago

Opened issue here https://github.com/adazzle/react-data-grid/issues/3483 Related occurrences: #817 #775 #769 #749 #724 #709 #695 #685