EpubNavigator blank/empty after unmount/remount until navigator.go
#737
Unanswered
smoores-dev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Hi,
I assume you wouldn't get any issue if you'd start with a fresh navigator every time. Why do you "unmount" the Besides, embedding a fragment in a view looks very weird to me. You don't have a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, me again 😁
When I migrated Storyteller to the v3 toolkit, we ran into an issue that, at the time, I just worked around, but now it seems that maybe my workaround is causing issues, sooo I'm back to ask for some more help. Here's the issue:
I have an EpubFragment that's responsible for creating/managing the EpubNavigatorFactory.
This gets mounted and unmounted in an EpubView.
Mounting the EpubView -> EpubFragment -> EpubNavigator works correctly the first time the EpubView is mounted. After unmounting and remounting, however, the
resourcePagerdoesn't seem to mount any child views:If I then trigger a
navigator.go()manually, this immediately resolves. Buuuut I'm triggeringnavigator.go()when first mounting the EpubView, and that call doesn't seem to help. I need to wait for the initial mount to finish, and then trigger anavigator.go()? Not sure what's going on, exactly.Any thoughts about what I could be doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions