You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like calling px.*.init() breaks listeners if they already have been added.
After adding an element to the DOM and adding a listener by for example calling px.expandable.init() with Vue and then redrawing the DOM when the data in the component changes another call to px.expandable.init() does not work to re-initiate the listener.
Not sure about how to solve this, but maybe start by cleaning the list of registered listeners before registering new ones upon calling px.*.init()?
The text was updated successfully, but these errors were encountered:
It seems like calling
px.*.init()
breaks listeners if they already have been added.After adding an element to the DOM and adding a listener by for example calling
px.expandable.init()
with Vue and then redrawing the DOM when the data in the component changes another call topx.expandable.init()
does not work to re-initiate the listener.Not sure about how to solve this, but maybe start by cleaning the list of registered listeners before registering new ones upon calling
px.*.init()
?The text was updated successfully, but these errors were encountered: