Skip to content

Bug: Strange onScroll behaviour when child editing #19156

@vladislav-andreevich

Description

@vladislav-andreevich

React version: 16.13.1
OS: Mac OS
Browser: Chrome 83.0.4103.97

Steps To Reproduce

  1. Create a div and add onScroll event to it
  2. Create input inside the created div
  3. Start typing in the input box.

The current behavior

Event onScroll is fired on the parent.

The expected behavior

Scroll event should not fire.

Link to code example:

https://codepen.io/vladislav-andreevich/pen/zYroQjN

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: StaleAutomatically closed due to inactivityStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions