vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.12k stars 1.38k forks source link

bug in jstree 3.3.13 and above when reclicking on node to show info box #2786

Closed abdurrhmansaeed closed 6 days ago

abdurrhmansaeed commented 3 months ago

I found this solution for node info box https://codepen.io/Vsevporyadin/pen/XwrOjK you can click on any node and the box will show and you can close it

it works ok to jstree v 3.3.12

in v 3.3.13 and above if you click on a node then close the box then click again the box will not show I debugged the code until I found the issues it was in jstree v.3.3.13 and above

Here is the code modified working on 3.3.12 https://jsfiddle.net/d305gsmo/ 3-3-12

Here is the code modified Not working on 3.3.16 https://jsfiddle.net/d305gsmo/1/ 3-3-16

gkralik commented 2 months ago

Try the allow_reselect option (see https://github.com/vakata/jstree/commit/17eaa64065c1f7513d6aa32405b554506b261657).

vakata commented 6 days ago

Thank you @gkralik