elements icon indicating copy to clipboard operation
elements copied to clipboard

When using a bad element name, the loading indicator is shown indefinitely instead of the error indicator

Open lbilger opened this issue 4 years ago • 6 comments

I have created an example at https://stackblitz.com/edit/angular-extensions-elements-loading?file=src/app/app.component.html

If the element I am trying to reference is not included in the specified URL, I would expect an error message (as I get when the URL itself is bad), but I get the loading indicator.

lbilger avatar Jan 27 '21 15:01 lbilger

Hey @lbilger . I see there's error template has been created and not the loading one:

image

Could you tell me if I'm missing anythig?

arturovt avatar Jun 16 '21 14:06 arturovt

Hi @arturovt, thanks for having a look! I had tried this only in Safari, but now that you said it works for you, I noticed that it works in Chrome but not in Safari.

lbilger avatar Jun 16 '21 18:06 lbilger

Ok, need to find my Mac to try it out in Safari :smile: Will get back to you with info soon!

arturovt avatar Jun 16 '21 21:06 arturovt

@lbilger library, did NOT work with Stackblitz in the past much because of their service worker setup, did that change?

tomastrajan avatar Jun 17 '21 11:06 tomastrajan

I saw no other problems and it seems to work in Chrome, but of course it’s a very minimal example. I noticed the problem in my real application, though. Stackblitz seemed the simplest way to create an example to reproduce it.

lbilger avatar Jun 17 '21 11:06 lbilger