I have a simple sample when I have an iframe with srcdoc content hosted in a server side blazor project. Iframe-resizer is served from cdn (both parent and child). It works. Mostly. But sometimes it just doesn't resize the iframe after the page has been refreshed (so far observed in chrome on first refresh, not always, and never in firefox). Console log is empty and if I try to call iframe-resizer setup method on that iframe, it just says that it's already been setup. I'm guess here a peculiarity of Chrome or something that Blazor does to DOM and iframe-resizer doesn't like it.Any idea how can I troubleshoot it?
↧