Skip to content

p:galleria not visible #3176

Closed Answered by kurtomerfaruk
kurtomerfaruk asked this question in PrimeFaces
Discussion options

You must be logged in to vote

I solved the problem as follows. When the tab with Galleria is active, I re-render Galleria.

`
$(document).on('shown.bs.tab', 'a[data-toggle="tab"]', function (e) {
var tab = $(e.target);
var contentId = tab.attr("href");

        if (tab.parent().hasClass('active') && contentId==="#resimlerEdit") {
            PF('galleriaWidget').render()
        }

    });

`

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@melloware
Comment options

@kurtomerfaruk
Comment options

@melloware
Comment options

@kurtomerfaruk
Comment options

Answer selected by kurtomerfaruk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment