Modal Component Not Hidden Despite Setting hidden Attribute to true

Goal: Hide a modal component in the application.

Steps to Reproduce:

  1. Select the modal component.
  2. Set the hidden attribute to true for the component.
  3. Run the application.

Expected Behavior: The modal component should disappear from the user interface once the hidden attribute is set to true.

Actual Behavior: Despite setting the hidden attribute to true, the modal component remains visible in the interface. Specifically, the button text within the modal is still displayed.

Button text is visible:

Hello @TECH_ALMOND!

That is a very odd bug. I tried to reproduce the button on my modal disappears when I close/exit out of the modal.

Any chance you can DM me a video of you opening and closing the modal?

If you could share a screen shot of how the modal is set up that might also provide clues as to why the button isn't being hidden with the rest of the modal

For reference, this is how I set up my modal and the buttons to open and close it.

See if setting yours up like this solves the issue. Is the modal open when you hit the play button to "navigate to app in user mode"?

Hi Jack,

Thanks for your answers. Just to clarify, the modal is the old version, so there isn’t a button that opens it—everything is contained within the same component. It’s strange because this issue only started appearing a week ago. If you'd like, I can DM you with more details.

Thanks again!

@TECH_ALMOND Thank you for the details!

If it was working and suddenly stopped I am going to guess there was a patch that caused some changes. Definitely DM me with more details.

I can flag a bug report internally for this as well. Best advice for the short term would be testing out the newest modal component to see if it can be used for your needs :sweat_smile:

Hi @TECH_ALMOND! When a hidden component is selected in the editor, we show the component in its non-hidden state in order to make it easier to visualize updates. The bounding box tag shows a hidden icon (the eye with a line through it) when this is the case. If you de-select the component, the component should hide again. It will also be hidden in preview mode.

Screenshot 2024-08-26 at 1.56.39 PM

Screenshot 2024-08-26 at 1.58.28 PM

I am noticing a bug however where sometimes the button text still appears when the component is hidden if WidgetGrid is enabled -- this seems like it may be what you're describing :thinking: Do you have WidgetGrid enabled by chance? You can try toggling it off in the toolbar at the bottom of the screen to see if that corrects the issue.

Screenshot 2024-08-26 at 2.01.43 PM

Screenshot 2024-08-26 at 2.03.02 PM

1 Like

Hello @TECH_ALMOND,

It looks like the task for this fix has been marked as done. It should be getting merged into our next update/rollout and live on cloud shortly!

Thanks, it's fixed

1 Like

@TECH_ALMOND Great to hear!

Let me know if this issue resurfaces or if you have any other concerns!

:grin: