My app has started doing something very mysterious…
It randomly logs my users out when they hover outside of the main window area that contains the app. (So the app is in a Fixed type container, and it happens when the user hovers outside of this, but totally randomly)
I’ve not been able to find any consistency in when it does this yet, or to make it happen when the console is open.
But I’d love to know if anyone has any insight into what may be causing this!
Yes, I just checked the code for the logout event and it is only where it is supposed to be… on-click of a button… and there is no element placed outside of the main container!
Well if it happens on hovering something, then there must be something triggering it. It can’t just magically run some code out of nowhere
The other thing i can think of - it’s just not related to any hover event
I did a search for "dmx-on:mouse" and found some code that submitted a form on mouseleave, and the form had no server action attached. I'm not sure why submitting a form with no server action attached should cause a logout, but maybe that is it.