I need help understanding how to initiate the default action before another process takes place. More specifically, when utilizing a third-party library and applying an event handler that triggers one of their functions, it seems to interfere with the default action. I am searching for a solution where the default action is executed prior to calling the library function as a workaround.
Is there a method to achieve this?