How can i prevent the default action, connection auto reverse, in specific condition?

How can i prevent the default action, connection auto reverse, in specific condition? We wanna keep the warning style and let users reconnect by themselves.
Appreciate for your help.
ezgif.com-gif-maker

I have achieved it by adding listener on ‘connection.hover’ and return false in some condition.
But if there are any more elegant or correct way to achieve, plz let me know.
Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.