Triggering logic when user closes at a certain part of the form

Hello - thank you all for your continued support. I would like to potentially trigger an endpoint if a user closes the browser or tab and was attempting to use “onhide” or “beforeunload” browser function (which we normally tie this onto a useEffect react function), with no success. Is there a certain way of doing this within feathery? Please advise! Thank you again for the help.

we don’t support this event currently!