Skip to content

doOpenRight 方法传参问题 #80

@ystarlongzi

Description

@ystarlongzi

swipeout/src/Swipeout.tsx

Lines 146 to 148 in 8e6d1e7

doOpenRight = () => {
this.open(-this.btnsRightWidth, true, false);
}

上面这段代码中的 this.open 方法的第 2、3 个参数是不是反了,虽然最终未影响到代码逻辑,但正确的是不是应该是下面这样的?

doOpenRight = () => { 
   this.open(-this.btnsRightWidth, false, true); 
 } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions