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

bug: @ionScroll does not work on ion-content #21821

Closed
bartboersma opened this issue Jul 27, 2020 · 3 comments
Closed

bug: @ionScroll does not work on ion-content #21821

bartboersma opened this issue Jul 27, 2020 · 3 comments
Labels

Comments

@bartboersma
Copy link

Hi,

Working on a Vue app where I noticed @ionScroll is not working, even though :scrollEvents="true" is enabled.

<template>
   <ion-page>
      <ion-content
         :scrollEvents="true"
         @ionScrollStart="logScrollStart()"
         @ionScroll="logScrolling($event)"
         @ionScrollEnd="logScrollEnd()"
      >
      // content
      </ion-content>
   </ion-page>
</template>

<script>
export default {
   methods: {
      logScrollStart() {
         console.log('in logScrollStart');
      },
      logScrolling(event) {
         console.log('in logScrolling: ' + event);
      },
      logScrollEnd() {
         console.log('in logScrollEnd');
      }
   }
}
</script>

in logScrollStart and in logScrollEnd are logged. However, in logScrolling is never logged. I am not sure if the issue is with @ionScroll or with :scrollEvents="true".

@ionitron-bot ionitron-bot bot added the triage label Jul 27, 2020
@liamdebeasi
Copy link
Member

Thanks for the issue. We are working on an updated version of Ionic Vue that should solve many of these issues. We hope to have a build out late summer/early fall. As a result, we are closing any new issues related to older Ionic Vue builds.

We will put out an announcement when we have more to share. Thanks!

@bartboersma
Copy link
Author

Awesome! Thanks for replying.

@ionitron-bot
Copy link

ionitron-bot bot commented Aug 26, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants