Skip to content

onScroll event of ScrollablePane is not fired while running on react version 17.0.2 #18744

Description

@arunvenu87

Environment Information

  • Package version(s): 8.20.2
  • react: 17.0.2

Describe the issue:

Actual behavior:

The onScroll event of ScrollablePane is not fired while using react version 17 .

Expected behavior:

The onScroll event of ScrollablePane should be fired.

If applicable, please provide a codepen repro:

It is working when react version 16.8.6 is used
https://codepen.io/arunvenu87/pen/gOWOPpq

It is not working when react version 17.0.2 is used
https://codepen.io/arunvenu87/pen/YzVzwPj

Priorities and help requested :

Are you willing to submit a PR to fix? No

Requested priority: High

Activity

  1. arunvenu87 commented on Jun 28, 2021

    @arunvenu87
    Author

    This behavior might be related to this breaking change.

  2. gouttierre commented on Aug 10, 2021

    @gouttierre
    Contributor

    arunvenu87 - Thanks for filing this issue with us.

    Sarah Higley (@smhigley) - Would you be able to confirm if this is a regression, or if this behavior is an issue?

  3. bsunderhus commented on Oct 6, 2021

    @bsunderhus
    Contributor
  4. bsunderhus commented on Oct 6, 2021

    @bsunderhus
    Contributor

    Seems like the onScroll method from the root element in ScrollablePane is not being invoked on v17.0.2 I'll be proposing a PR for a fix

  5. moved this to Good Issues (High Priority) in Fluent UI - Shield Priorson Jan 10, 2022
  6. piedras77 commented on Mar 3, 2022

    @piedras77

    Bernardo Sunderhus (@bsunderhus) any updates on when the pull request fixing this will be merged? Thanks

  7. Wezea commented on Mar 8, 2022

    @Wezea

    Unfortunately, the PR expired and has been closed.

    We would highly appreciate to get this merged, as this is currently blocking us to migrate to React v17.

  8. moved this from Good Issues (High Priority) to Help Wanted (Lower Priority) in Fluent UI - Shield Priorson Mar 23, 2022
  9. locked as resolved and limited conversation to collaborators on May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions