I've isolated the issue, see and try the full source here:
Steps to reproduce:
-
Press Ctrl+Enter to run the snippet
-
Click on 'Say Hello' custom command button, and check if the event handler runs
-
Click on top left 'Save State' button 3) Click on 'Load State' button, and restore the previous state.
-
Now click again on 'Say Hello' button and demonstrate the event handle will not run, instead something weird is happening.
Notes: Please do not search for the solution around the localStorage. The issue can be reproduced by using different server side state persisting solution. (as my original app does)
Any idea where to patch? ... or workaround?
Aucun commentaire:
Enregistrer un commentaire