TypeError: this.containerEl.onWindowMigrated is not a function

The error

  • I opened the vault in iPad and it pops up TypeError: this.containerEl.onWindowMigrated is not a function. (In 'this.containerEl.onWindowMigrated(()/=>{this.plugin.removeView(this),this.plugin.addView(this,this.data,this.isPrimary)})','this.containerEl.onWindowMigrated' is undefined)

  • I tried to refresh but the error still persists. It only occurs in iPad; on my Mac, the vault works fine.

How can I fix the error ?

That function has been added as part of 0.15.0,
as that API version is not available on mobile yet this error pops up.

One of your community plugins is causing it.

1 Like

Thanks for your insight. I believe it would be Kanban plug-in causing the error. I will contact the author.

That will fix itself once the insider release for mobile is out.

1 Like