.showModal is not a function

I use modals a bit and every once in the while I get the error TypeError: interaction.showModal is not a function now the modal still works like normal and there is no visual sign of an error etc. Is there any reason to why this could happen?
Was this page helpful?