Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Panel] The accordion effect of <Panel /> will cause the page to scroll when switching #1296

Closed
vingeraycn opened this issue Sep 18, 2020 · 0 comments

Comments

@vingeraycn
Copy link
Member

Versions

package version
react X.Y.Z
rsuite 4.8.2

What is the expected behavior?

Do not scroll when switching accordion activation panel

What is the current behavior?

Page scroll when switching accordion panel

What are the steps to reproduce?

  1. open the example: https://rsuitejs.com/components/panel/#Accordion%20effect
  2. click 'Panel 2' panel, then page will scroll up

Any additional comments? (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant