Skip to content

Conditional panels #49

@lampoverde

Description

@lampoverde

Hello Everyone,
I'm trying to build a guided tour among tabs which have conditional panels. While I can move through tabs, I cannot do that over conditional panels. I define the steps on the server side

DEFINITION OF STEPS

element <- c('#elem_A_tab1', '#elem_B_tab2_inCondPanel', '#elem_C_tab2_outOfCondPanel')
intro <- paste0('text ', length(element))
tourData_rintro <- data.frame(element, intro)

START TOUR

introjs(session, options = list(steps = tourData_rintro), events = list(onbeforechange = readCallback("switchTabs")))

Steps involving hidden conditional panels are not properly shown when the panel is hidden.
Is there any trick to open/close a conditional panel during the steps?

Many thanks for any insight
Paolo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions