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

feat(Tabs): add control for autoscroll on component rerender #7410

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Dec 7, 2020

Closes #7399

This PR adds a boolean control for controlling tab autoscroll behavior on component rerenders only

Changelog

New

  • scrollIntoView prop

Testing / Reviewing

Confirm that the newly added control only impacts auto scroll behavior on component rerenders, particularly from prop updates

@netlify
Copy link

netlify bot commented Dec 7, 2020

Deploy preview for carbon-elements ready!

Built with commit ba396b2

https://deploy-preview-7410--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Dec 7, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit ba396b2

https://deploy-preview-7410--carbon-components-react.netlify.app

@emyarod emyarod force-pushed the 7399-boolean-toggle-autoscroll-into-view branch from 1b2d8ad to 2d16dde Compare December 7, 2020 17:19
@emyarod emyarod requested a review from a team as a code owner December 7, 2020 17:19
Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ✅

@kodiakhq kodiakhq bot merged commit 5fcbf46 into carbon-design-system:master Dec 8, 2020
@emyarod emyarod deleted the 7399-boolean-toggle-autoscroll-into-view branch December 9, 2020 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tabs] Offer control to disable scrollIntoView for Tabs
3 participants