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

fix(Tabs): apply scrollIntoView prop on mount #7543

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Jan 12, 2021

This PR is a follow up to #7410 which added a scrollIntoView prop to allow more granular control over autoscroll behavior. The prop value should now be respected on component mount as well as updates

Testing / Reviewing

Confirm that autoscroll is dictated by the prop value on component mount and on component updates

@netlify
Copy link

netlify bot commented Jan 12, 2021

✔️ Deploy preview for carbon-elements ready!

🔨 Explore the source changes: 5d1640e

🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/60072f7dbd82600007f91ca4

😎 Browse the preview: https://deploy-preview-7543--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jan 12, 2021

✔️ Deploy preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: 5d1640e

🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/60072f7d27a0790007eb252c

😎 Browse the preview: https://deploy-preview-7543--carbon-components-react.netlify.app

@emyarod emyarod closed this Jan 13, 2021
@emyarod emyarod force-pushed the apply-scrollIntoView-prop-on-mount branch from 1bfc471 to 985d66b Compare January 13, 2021 17:22
@emyarod emyarod reopened this Jan 13, 2021
@emyarod emyarod requested a review from a team January 19, 2021 17:23
Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

@emyarod looks good 🌯

@andreancardona andreancardona merged commit da821e3 into carbon-design-system:master Jan 19, 2021
@emyarod emyarod deleted the apply-scrollIntoView-prop-on-mount branch January 20, 2021 15:22
@emyarod emyarod mentioned this pull request Jan 22, 2021
46 tasks
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.

3 participants