stereobooster/react-ideal-image

Hide Error click to Load Image if image failed to load

aj019 opened this issue · 3 comments

aj019 commented
  • react-ideal-image version: 0.0.5
  • node version: 10
  • npm (or yarn) version: 6.2.0

Relevant code or config

What you did:

What happened:

screen shot 2018-11-21 at 4 50 17 pm

Reproduction repository:

Problem description:
Error click to Load is ruining the UI

Suggested solution:
OPtion to hide the error message

But how user will recognise there is an error? I'm not sure I understand full context

aj019 commented

What i mean is that there should be a way to customize the error message UI. So that the developer can create its own UI for error message.

There is a way to customize it, but there is no tutorial for it, take a look at source code.

Also this is technically possible, current implementation is not the nicest way. #81 should improve this