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

Feature Request: Activity Indicator before navigation #41

Open
baermathias opened this issue Jun 8, 2020 · 0 comments
Open

Feature Request: Activity Indicator before navigation #41

baermathias opened this issue Jun 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@baermathias
Copy link

baermathias commented Jun 8, 2020

It would be very useful to implement an activity indicator, which greyes out the background and shows an activity indication (e.g. inside a transparent modal). Then only after the single page component (which should be navigated to) was mounted, the navigation to this page and the transition animation should happen. Because else, if you have a lot of data to fetch inside your created hook the transition animation is completely messed up and also the navigation indication on the component, which should be navigated to is messed up.

Something like this:

this.$navigator.navigate('/overview', { beforeNavigationActivityIndicator: true })

It could be done by opening automatically a modal page with an activity indicator first and after the page you want navigate to was mounted sending an event to stop the activity indicator and continue with navigation + transition.

mounted() {
    this.$navigator.mounted()    // sends event to stop activity indicator on modal
}
@rigor789 rigor789 added the enhancement New feature or request label Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants