Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate SpinnerImage to Mui 5 #97

Merged
merged 4 commits into from
Nov 30, 2021
Merged

migrate SpinnerImage to Mui 5 #97

merged 4 commits into from
Nov 30, 2021

Conversation

AriaMoradi
Copy link
Member

No description provided.

@AriaMoradi AriaMoradi mentioned this pull request Nov 15, 2021
<SpinnerImage
src={`${src}?useCache=${useCache}`}
onImageLoad={onImageLoad}
alt={`Page #${index}`}
imgRef={imgRef}
spinnerClassName={`${classes.image} ${classes.loadingImage}`}
Copy link
Member Author

Choose a reason for hiding this comment

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

Merging the two might have been wrong in the first place?

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably yes, cause they both might have conflicting css. Having different styling objects for both makes more sense

@AriaMoradi
Copy link
Member Author

semi-approved

Copy link
Contributor

@ntbm ntbm left a comment

Choose a reason for hiding this comment

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

That's a complicated one.
The Page Spinner seems to be okay, but before the Page numbers are loaded the Spinner is window centered in the Old Version, while being at the same Position as the Page Spinner in the new Version

@AriaMoradi
Copy link
Member Author

So does it need extra fixing?

Copy link
Contributor

@ntbm ntbm left a comment

Choose a reason for hiding this comment

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

For me personally it's a non issue. The other loading indicator looks nicer. But it's replaced fast by the page spinner indicator so I approve.

@AriaMoradi
Copy link
Member Author

Lets sleep on this one a bit

Copy link
Contributor

@ntbm ntbm left a comment

Choose a reason for hiding this comment

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

Looked at it again. Is fine for now considering the due rewrite of the reader.

@AriaMoradi AriaMoradi merged commit a8444e5 into master Nov 30, 2021
@AriaMoradi AriaMoradi deleted the reintroduce-72-patch-19 branch November 30, 2021 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants