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

ScrollItem doesn't set classes #7

Open
foundryspatial-duncan opened this issue Mar 25, 2019 · 0 comments
Open

ScrollItem doesn't set classes #7

foundryspatial-duncan opened this issue Mar 25, 2019 · 0 comments

Comments

@foundryspatial-duncan
Copy link

With markup like this:

<scroll-item id="section-8" @change="itemScrolled">
    <p id="section-8" class="content-item">Deserunt architecto modi possimus ...</p>
</scroll-item>

<scroll-item id="section-9" @change="itemScrolled">
    <p id="section-9" class="content-item">Facilis culpa possimus natus eveniet,... </p>
</scroll-item>

The actual DOM of the app just has the p elements, and I expect their classes to change depending on the scroll position/state, but the classes never seen to change. I'm using Vue 2.6.6 with a custom scroll container.

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

No branches or pull requests

1 participant