-
Notifications
You must be signed in to change notification settings - Fork 156
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(toc): adjust mobile selector, should always be navbar #11589
fix(toc): adjust mobile selector, should always be navbar #11589
Conversation
Deploy preview created for package Built with commit: e881f6e71764bab795c30d38592cdb2f690064ff |
Deploy preview created for package Built with commit: e881f6e71764bab795c30d38592cdb2f690064ff |
Deploy preview created for package Built with commit: e881f6e71764bab795c30d38592cdb2f690064ff |
Deploy preview created for package Built with commit: e881f6e71764bab795c30d38592cdb2f690064ff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! One small nit is that this selector is used in two places now, and there's an opportunity to store it in a variable with a nice descriptive name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
0393906
into
carbon-design-system:main
…ign-system#11589) ### Related Ticket(s) Closes carbon-design-system#11587 ### Description Fixes sticky behavior issue with TOC Dotcom shell at less than lg breakpoint. ### Testing instructions 1. Open the Dotcom shell > Default 2. Scroll the page 3. The Masthead should be sticky until it reaches the TOC, then the masthead should scroll away, while the TOC becomes sticky to the top. 4. Repeat at both `lg` and less than `lg` breakpoints 5. Repeat 1-4 with the Dotcom shell > With ToC horizontal story ### Changelog **Changed** - TOC dotcom shell sticky behavior fixed at less than lg breakpoint <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Hey there! This issue/pull request was referenced in recently released v2.6.0. |
Related Ticket(s)
Closes #11587
Description
Fixes sticky behavior issue with TOC Dotcom shell at less than lg breakpoint.
Testing instructions
lg
and less thanlg
breakpointsChangelog
Changed