Remix.run Logo
touwer 6 hours ago

That's actually quite easy. onBlur, etc

reddalo 6 hours ago | parent [-]

Just to be precise, onBlur is a JavaScript event for an item that loses its focus, visibilitychange is what you actually need to detect tab changing.