Tagged: x
-
AuthorPosts
-
April 11, 2016 at 1:26 pm #876935
HorizonParticipantHi
I’ve set up some tabs on my site but they don’t seem to work on mobile devices, how can i resolve this? Thanks
April 11, 2016 at 1:26 pm #876936
HorizonParticipantThis reply has been marked as private.April 12, 2016 at 12:31 am #877673
RupokMemberHi there.
Thanks for writing in! It seems working on my end on mobile. Would you check again and confirm the issue?
Cheers!
April 12, 2016 at 3:44 am #877893
HorizonParticipantThanks for your reply, still not working my end tested on iphone 5 and blackberry 10
April 12, 2016 at 9:42 am #878394
JackKeymasterHi there @Horizon,
Thanks for writing in, this is a confirmed bug and should be patched in the next release.
If you want to patch it yourself for now, you can go to x/framework/js/dist/site/x-body.js
And on line 1946, change that code to:
// // Scroll trigger. // $('a[href*="#"]').on('touchstart click', function(e) { href = $(this).attr('href'); notComments = href.indexOf('#comments') === -1; if ( href !== '#' && notComments ) { notAccordion = href.indexOf('#collaspe-') === -1; notTabbedContent = href.indexOf('#tab-') === -1; if ( href !== '#' && notComments && notAccordion && notTabbedContent ) { var theId = href.split('#').pop(); var $el = $('#' + theId); if ( $el.length > 0 ) { e.preventDefault(); animateOffset($el, 850, 'easeInOutExpo'); } }Please note, you’ll then need to re-compile x-body.js, to it’s minified form, and update that file as well.
Any change you make to these files will be overwritten on update.
Thank you!
April 14, 2016 at 8:24 am #882198
HorizonParticipantThanks for your reply, before i go in and edit the code has the latest update (4.4.2) resolved this bug? if so i’ll just update X.
Thanks
April 14, 2016 at 5:08 pm #883183
RadModeratorHi there,
Not yet, this code is provided the day the new update is compiled. But should be added on next update.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-876935 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
