[TOC v2]: Table of contents in Dotcom shell is hidden behind masthead on less than lg breakpoint #11587
Closed
2 tasks done
Labels
bug
Something isn't working
dev
Needs some dev work
owner: Innovation Team
used when the engineering work will be done by Hybrid Cloud with DDS engineers as consultants
package: web components
Work necessary for the IBM.com Library web components package
v2
Description
In the Dotcom Shell > Default story, when below the lg breakpoint the expectation is that the TOC will be sticky and the Masthead will scroll off the page as you scroll and encounter the TOC.
Monosnap.screencast.2024-02-27.09-53-30.mp4
Component(s) impacted
Dotcom Shell
Table of contents
Browser
Chrome
Carbon for IBM.com version
v2.4.0
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
https://ibm.com
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://carbon-design-system.github.io/carbon-for-ibm-dotcom/next/web-components/?path=/story/components-dotcom-shell--default
Steps to reproduce the issue (if applicable)
Expected result
The masthead shoul scroll off the page, and the TOC should become sticky to the top.
Actual result
The masthead remains sticky at the top, and the TOC scrolls underneath it, sticky to the top, appearing as though it scolled off the page. TOC is not visible.
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: