powered by Jive Software

WebChat Focus Issue with Google Chrome

I have recieved and confirmed reports from users who use Google Chrome that keep loosing focus when an agent responds while using webchat through Fastpath. The focus seems to move up to the window with the agents response and does not allow them to continue typing a new message unless they click back in the typing window. This does not occur in either Firefox or IE and seemes to be specific to Chrome. Does anyone know how to work around the focus issue with Chrome? I am currently using the latest fastpath webchat plugin from svn which uses jetty.

I’m not seeing this issue, but I am also using a plugin that was forked a while ago.

In webapp’s chatmain.jsp, the application resets the focus to the chatbox after a message is received only in IE (in SVN, on line 382):

// blink the window – IE only

if (document.all) {

focus();

document.f.chatbox.focus();

}

else {

window.parent.focus();

}

On our version, the focusing happens for all browsers:

focus();

document.f.chatbox.focus();

If you have a dev environment, you could try commenting out the if/else logic and recompiling the webchat.war file.