Skip to content

fix: make sure loading widget hides when ReadiumReaderWidget is done - #217

Open
AndreasLymalmMTM wants to merge 1 commit into
Notalib:mainfrom
mtmse:fix/loading-icon-stays
Open

fix: make sure loading widget hides when ReadiumReaderWidget is done#217
AndreasLymalmMTM wants to merge 1 commit into
Notalib:mainfrom
mtmse:fix/loading-icon-stays

Conversation

@AndreasLymalmMTM

Copy link
Copy Markdown
Contributor

Description

Any loading widget passed to ReadiumReaderWidget stayed above the content after loading completed, often just less than a second, but in rare cases it stayed indefinitely.

The solution in this PR is to listen on the initial content being visually ready (with the new onReaderReady), instead of onPageChanged.

Before -> After

loading-widget-stay.mp4
loading-widget-hide.mp4

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.

1 participant