Carbon: Switching Tabs still causes vertical scrolling.

Created on 19 Oct 2020  ·  6Comments  ·  Source: carbon-design-system/carbon

What package(s) are you using?

  • [ ] carbon-components
  • [x] carbon-components-react

Detailed description

Describe in detail the issue you're having.

Switching tabs can still (even with the fix for 7.22 https://github.com/carbon-design-system/carbon/pull/6974) cause vertical scrolling. See my comments here on the original issue for more detail and gif examples:

https://github.com/carbon-design-system/carbon/issues/6973#issuecomment-710725056
https://github.com/carbon-design-system/carbon/issues/6973#issuecomment-710726143

Is this issue related to a specific component?

Tabs

What did you expect to happen? What happened instead? What would you like to
see changed?

Switching Tabs should never cause vertical scrolling.

What browser are you working in?

Any

What version of the Carbon Design System are you using?

7.22

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Kui

Steps to reproduce the issue

  1. Step one
  2. Step two
  3. Step three
  4. etc.

Please create a reduced test case in CodeSandbox

Additional information

  • Screenshots or code
  • Notes
needs triage 🕵️‍♀️ waiting for author's response 💬 bug 🐛

All 6 comments

can you create a reduced test case in Code Sandbox for easier testing and debugging?

i'd love to help there, but i get only

InternalError too much recursion

from your sandboxes.

it looks like this is a current issue in Code Sandbox. we'll have to wait for them to resolve it https://github.com/codesandbox/codesandbox-client/issues/5022

as an alternative you could also try recreating the issue in jsfiddle or codepen

@emyarod Here is a sandbox that demonstrates the vertical scrolling bug. https://codesandbox.io/s/nifty-water-3i8br

thanks for the example, I believe this will be resolved in #7111

Was this page helpful?
0 / 5 - 0 ratings

Related issues

windgaucho picture windgaucho  ·  3Comments

ahoyahoy picture ahoyahoy  ·  3Comments

laurenmrice picture laurenmrice  ·  3Comments

AnthumChris picture AnthumChris  ·  3Comments

snidersd picture snidersd  ·  3Comments