Skip to content

Console error on scroll: Unable to preventDefault inside passive event listener due to target being treated as passive #7497

@kristina-kovacikova-acn

Description

OS: [windows, mac]
Browser: [chrome, edge]
Swagger-Editor version: 3.52.2
Swagger/OpenAPI version: [OpenAPI 3.0.3]

Description of the issue

When scrolling "Example value" = inside class .highlight-code the following error is thrown in the browser's console
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312

Steps to reproduce

swagger.txt

  1. Copy past OpenAPI definition from the file above into https://editor.swagger.io/
  2. collapse /pet endpoint
  3. open console in the dev tools
  4. scroll inside body -> example value -> error will be shown in the console

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions