diagram component not working

UI Components for JSF
Post Reply
mamato
Posts: 4
Joined: 30 Oct 2015, 19:29

28 Apr 2016, 20:17

hi,
i'm using primefaces 5.3 with rio theme
i've copied the sample code from "diagram/basic.xthml" but in the chrome consolle i see the error: typeError cannot read property 'parentNode' of null(...) in diagram.js
the "boxes" are designed without connectors and no chance to drag them

any idea?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

29 Apr 2016, 09:15

typeError cannot read property 'parentNode' of null(...) in diagram.js
I couldn't replicate this bug on chrome and other browsers.
the "boxes" are designed without connectors and no chance to drag them
I think this issue is a chrome issue. Because diagram and mindmap examples was working with old chrome versions. I'll search this issue and get back to you.
Can you please try mindmap example of showcase on chrome?


Note; next time, please use rio forum for rio issue; http://forum.primefaces.org/viewforum.php?f=26

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

29 Apr 2016, 09:18

Which chrome version are you using? I'm using v49.0.2623.112


mamato
Posts: 4
Joined: 30 Oct 2015, 19:29

30 Apr 2016, 10:53

with safari i have the same error
so?
it's not only chrome or i'm missing somethng?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 May 2016, 10:16

Can you please try this issue with PF-6.0.RC3? We use JsPlumb API for diagram component. I saw a bug with chrome on this API; https://github.com/sporritt/jsPlumb/issues/295
Therefore, I upgraded to JsPlumb 2.1.0. Your draggable issue works fine on Chrome and other browsers.
typeError cannot read property 'parentNode' of null(...) in diagram.js
I couldn't replicate this issue on 5.3 and 6.0. But, it may be fixed on PF-6.0.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests