Skip to content

ScrollItem doesn't set classes #7

@foundryspatial-duncan

Description

@foundryspatial-duncan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions