Active
Project:
DrupalChat
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2013 at 08:28 UTC
Updated:
22 Sep 2013 at 12:17 UTC
In the OpenAtrium distribution, the chat doesn't work properly.
I'm unable to type text into a chat.
I will look in to this myself if I have some time, but it would be great to see this fixed.
Kind regards,
Comments
Comment #1
darklrd commentedWhich polling method are you using? Thanks
Comment #2
novitsh commentedI'm using the normal AJAX method.
Regards,
Comment #3
cgove commentedThis is due to OA's navbar css:
#navbar, #navbar * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: rgba(0,0,0,0);
text-align: left;
-webkit-text-size-adjust: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
vertical-align: baseline;
}
Resetting these in a custom sub-theme fixed it for me:
#navbar #drupalchat-wrapper * {
-moz-box-sizing: content-box !important;
-webkit-box-sizing: content-box !important;
box-sizing: content-box !important;
-webkit-tap-highlight-color: inherit !important;
-webkit-text-size-adjust: auto !important;
-webkit-touch-callout: inherit !important;
-webkit-user-select: auto !important;
vertical-align: inherit !important;
}
This still messes with the margins and paddings, but those can be set again individually.
I wonder why drupalchat is residing inside the navbar in the first place...
Comment #4
novitsh commentedThis worked for me also, thanks.
It might be good to have those important statements in the css core of the module?
Comment #5
darklrd commentedIs drupalchat-wrapper div somehow present inside nav div? Thanks.
Comment #6
novitsh commentedIt appears that drupalchat-wrapper is being set in following HTML line under the footer in OA:
<nav id="navbar" role="navigation" class="navbar clearfix navbar-processed">Comment #7
darklrd commentedYes, drupalchat-wrapper div inserts itself just above body closing tag (). Thank you.
Comment #8
novitsh commentedMaybe the CSS solution by cgove can be included in the default CSS?