Mono Support space bar doesnt work in forum posts 

Viewed 18396 time(s), 6 post(s), 6/3/2014 8:14:02 AM - by panos.pag
6/3/2014 8:15:58 AM
390 Reputation 35 Total posts

We recently upgraded to MonoX v4.9.40.4845 [12/25/2013], DB v4.7.3842 and we have noticed that while typing in the "enter your post" text area in a forum topic the space bar (that separates words) doesn't work in any of the major browsers. 

This is our site: http://social.clipflair.net/

Could you please help?

Thanks,
Panos

1
6/3/2014 8:30:16 AM
390 Reputation 35 Total posts

Sorry about this, we just found out that this is a conflict problem with this script for custom scrollbars 
<script src="/MonoX/Scripts/jquery.nicescroll.min.js"></script>
<script src="/MonoX/Scripts/jquery.nicescroll.plus.js"></script>

2
6/3/2014 8:38:25 AM
390 Reputation 35 Total posts

//scrollbar
 $("html").niceScroll({styler:"fb",cursorcolor:"#000",spacebarenabled:false});

(added spacebarenabled:false for now and we''ll see...)


3
6/3/2014 11:42:30 AM
2793 Reputation 345 Total posts

http://stackoverflow.com/questions/21998789/livefyre-textarea-scrolls-to-bottom-on-spacebar
</br>
</br>this seems to be the fix that works
</br>
</br>btw, NiceScroll jQuery plugin is very cool, especially for touch (http://areaaperta.com/nicescroll/)

can see it integrated in MonoX at http://social.clipflair.net (the two big arrow up/down indicators shown at our site are custom indicators that you can scroll up/down, not part of NiceScroll)

the skin and code from our site is opensource in case other MonoX users like it (implied one will remove our branding/logos and give some credit somewhere ;-) - http://clipflair.codeplex.com (can get the social stuff at /Server/ClipFlair.Social subfolder of the source)

4
6/4/2014 9:06:50 PM
15993 Reputation 2214 Total posts

So this issue is related to your custom "nice" scroll bar implementation and not MonoX core functionality ? Please confirm this so we can close this issue or continue investigating.

Thanks

5
6/5/2014 10:18:47 AM
2793 Reputation 345 Total posts

it was related to NiceScroll.js (http://areaaperta.com/nicescroll/) indeed and needed an init param at the master page to tell it to not use space key for scrolling up/down since it interfered with the rich text editor

6
This is a demo site for MonoX. Please visit Mono Software for more info.