EasyUI Forum
May 14, 2024, 02:02:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: error in "unbind" on a panel  (Read 4031 times)
chrwei
Full Member
***
Posts: 219


View Profile Email
« on: September 19, 2019, 10:08:49 AM »

I'm using react router, one path I'm getting an error when leaving going to any other path.  this version 1.0.34, but it was doing ti on 1.0.31 too.

Code:
rc-easyui-min.js:411 Uncaught TypeError: Cannot read property 'mousedown' of undefined
    at e.value (rc-easyui-min.js:411)
    at e.value (rc-easyui-min.js:10262)
    at t.value (rc-easyui-min.js:10172)
    [all the other react-dom lines]

error and point in the code in the attached screen shot, r.myevents is in showing as "undefined".

the component is basically:

Code:
	<Layout>
<LayoutPanel region="west" split style={{ width: "50%" }}>
<LinkButton />
<ProgressBar />
<DataGrid>
<GridColumn />
<GridColumn />
<GridColumn />
</DataGrid>
<Messager ref={ref => rfMsg = ref}></Messager>
</LayoutPanel>
<LayoutPanel region="center" >
<LinkButton />
<iframe />
</LayoutPanel>
</Layout>

I have a nearly identical path that does not get an error, only difference is there's no LinkButtons and on the grid I'm using "onSelectionChange" and "onRowDblClick" on the one that errors, but only "onRowClick" on the one does not error.
Logged
chrwei
Full Member
***
Posts: 219


View Profile Email
« Reply #1 on: October 11, 2019, 01:03:38 PM »

1.0.35 seems to have fixed this.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!