Skip to content

Unable to preventDefault inside passive event listener due to target being treated as passive #433

Closed

Description

@qmonmert

Describe the bug
In chrome dev tools, I have this error when I drag and drop:
image

image

To Reproduce
html

<div style="width: 100vw; height: 100vh;">
  <as-split direction="vertical" (dragEnd)="dragEnd($event)">
    <as-split-area [size]="sizeTop">
      <h1>TEST 1</h1>
    </as-split-area>
    <as-split-area [size]="sizeBottom">
      <h1>TEST 2</h1>
    </as-split-area>
  </as-split>
</div>

typescript

  dragEnd({ sizes }: any) {
    console.log(sizes);
  }

Is it normal? Thanks

Activity

  1. qmonmert commented on Apr 23, 2024

    @qmonmert
    Author

    I see this error also on https://angular-split.github.io/examples/simple-split with the dev tools on mobile view
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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