F7 dialog alert ok button appearing in some cases and not in others


I added a dialog alert, so when user logs in, it displays a message. This alert has an OK button to dismiss the dialog.

This OK button appears sometimes and not in other times.

It dissappears in these cases: using private mode, using safari browser, and some cases we don’t know the reason.

Using Chrome browser it does display the OK button.

What am I missing?

this is how I call the dialog:

if (this.props.message) {

      this.$f7ready(f7 => {