Skip to content

how to deal with scroll event happened only one time #8

@una-chou

Description

@una-chou

Thank you for your plugin, it's well, but when the offset=50, this scroll event will happen lots of time, and i wrote follow code to solve it, sometimes it is well, but if i scrolled fast, it's also a bug, how can i solve it perfectly?

` disabled = false;
onScrollModal() {
if(this.disabled == false){
this.scro();
this.disabled = false;
}
}

scro(){
        this.getIdentityGroupInfoNew(this.itemDataUuid, this.personType, this.identityGroup.length);
    this.disabled = true;
};`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions