• Christian Ohm
    February 21, 2017 at 7:03 am #3786

    Hi Everyone.

    I am having an issue with the Spark modal section. I want the modal to be hidden by default and when a profile button is clicked it should appear. I have the following code in the coach view onload event:

    thisView = this;

    var modal =thisView.ui.get(“Modal_Section1”);

    modal.setVisible(false)

    And in the button onclick event I have ${Modal_Section1}.setVisible(true)

    That is all great. However, when the page loads the modal briefly shows then it hides. What is that about?

     

    SPARK Support
    February 21, 2017 at 8:35 am #3787

    Hey Christian,

    This is a known behavior for this control. A work-around is to set the visibility configuration of the control to “none,” and then on showing the modal you can set the visibility to “visible”.

    Thanks,

    Elliot P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search