• Resolved yeohwei95

    (@yeohwei95)


    I placed modula short codes in to tabs content. The first gallery shows up but when i click on the next tabs, it does not shows up. when i resize the site, its rerenders the gallery and only it shows up again

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @yeohwei95,

    Thank you for reaching out to us!
    This happens because Modula does not yet work in tabs.
    The gallery needs to know the height of the container it’s in and when you switch tabs it cannot tell the height – it needs to reload the page.
    Our developers are investigating this and are looking for solutions – we hope to implement this in one of our next updates.

    Warmly,
    Mihaela

    please how you have solved the problem

    I’v got the same problem.
    Tried to reinit modula galeries on tabs change by this code

    <script>
    	jQuery('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
    		var t = jQuery(".modula.modula-gallery");
    		jQuery.each(t, function() {
    			var t = jQuery(this).attr("id")
    			  , i = jQuery(this).data("config");
    			jQuery("#" + t).modulaGallery(i)
    		})
    	})
    </script>
    

    It does not work. Could you please help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Module Not Displayed on Tabs’ is closed to new replies.