AdminLTE icon indicating copy to clipboard operation
AdminLTE copied to clipboard

fix: prevent multiple event listener calls #4339

Open galihsetyo opened this issue 2 years ago • 1 comments

in some implementation cases in SPA, the Treeview must be initiated manually, but when the page is refreshed then the Treeview will be initialized more than once and create duplicate event listeners that make the Treeview toggle become buggy (it won't collapse when the Treeview initiated more than once), so I added the stopImmediatePropagation to prevent the multiple event listener calls.

galihsetyo avatar Jun 25 '22 05:06 galihsetyo

Give some more details regarding to issue like code, images, video to solve issue

danny007in avatar Jun 26 '22 07:06 danny007in