Modal closing when it shouldn't

On-prem V3.52
Suddenly in an app that we've had running. for some time, a modal is closing 2 seconds after it opens and it is not commanded to close - only by the close btn on the modal.

No code changes done to the app (checked in github).
We think that during a commit, the json possibly got corrupted along the way
We added another modal and in the inspector the footer showed a value of 'true' and it should be showing 'enabled'

Thanks

Hello @peter.b,

Apologies for this issue, very strange behavior for the modal.

Hopefully the JSON didn't get corrupted during a commit, but just in case that did happen, you might need to move the components within the modal from the current modal to a new one, and then delete the old one :sweat:

Can share a screen shot of the modal inspector? It seems that in the 'Add On' view the Footer will say 'Enables' and then once this add on is clicked it will have 'true' under 'Appearance' -> 'Show Fitter'.

HI, We ended up deleting and re-creating the modal and that fixed it.
We didnt have time to find root cause as we were facing a dealine.
Thanks

Pete

Hi @peter.b,

Glad to hear that was able to fix the issue.

Super odd bug, sometimes the best fix is recreating the component.

Would love to dig in to how the modal could have gotten corrupted but I understand time is limited and the cause might not be repeatable.

Best,
Jack