Skip to content

Bug/issue 79#90

Merged
mngweb merged 6 commits intodevelopfrom
bug/issue-79
Jan 2, 2022
Merged

Bug/issue 79#90
mngweb merged 6 commits intodevelopfrom
bug/issue-79

Conversation

@mngweb
Copy link
Collaborator

@mngweb mngweb commented Dec 31, 2021

Bubble with fade-in shows a picture and a fact from both API's at the same time.

@mngweb mngweb added bug Something isn't working Sprint_5 labels Dec 31, 2021
@mngweb mngweb requested a review from Nefariusek December 31, 2021 09:18
@mngweb mngweb self-assigned this Dec 31, 2021
@mngweb mngweb linked an issue Dec 31, 2021 that may be closed by this pull request
Copy link
Owner

@Nefariusek Nefariusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole bubble should fade-in. We want to avoid situations when there is an empty crimson container in the middle of the screen. Please adjust

Comment on lines +90 to +96
imageObject.addEventListener(
'load',
() => {
renderAnimalFact(imageFact);
},
false,
);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 2 event listeners for this one object. Additionally, they are in two separate functions so it is hard to maintain. Move everything to the one handler.

@mngweb mngweb requested a review from Nefariusek January 2, 2022 13:49
@mngweb mngweb merged commit 4faf723 into develop Jan 2, 2022
@mngweb mngweb deleted the bug/issue-79 branch January 4, 2022 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Sprint_5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Cosmetic] Bubble image is loading too long

2 participants