Skip to content

fix(masthead-l1): fix unwanted item highlighting #12212

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

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

marcelojcs
Copy link
Contributor

Related Ticket(s)

JIRA

Description

This PR addresses multiple CTA highlighting in L1 components caused by anchor links pointing to sections within the page.

Changelog

Changed

  • modifying the _handleSelectedMenuItem function that sets the active attribute to stop propagating when the link href contains #

@marcelojcs marcelojcs requested a review from a team as a code owner February 18, 2025 18:17
@marcelojcs marcelojcs requested review from bruno-amorim and Valentin-Sorin-Nicolae and removed request for a team February 18, 2025 18:17
Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for incomparable-wisp-8d6771 ready!

Name Link
🔨 Latest commit ab6fad3
🔍 Latest deploy log https://app.netlify.com/sites/incomparable-wisp-8d6771/deploys/67b4cf3dfb4fef000803ef96
😎 Deploy Preview https://deploy-preview-12212--incomparable-wisp-8d6771.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for ibm-dotcom-web-components-react-wrap ready!

Name Link
🔨 Latest commit 0fa7530
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components-react-wrap/deploys/67b4cea2674c7b0008b69e24
😎 Deploy Preview https://deploy-preview-12212--ibm-dotcom-web-components-react-wrap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit 0fa7530
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components/deploys/67b4cea2788c35000811556a
😎 Deploy Preview https://deploy-preview-12212--ibm-dotcom-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for ibm-dotcom-web-components-react-wrap ready!

Name Link
🔨 Latest commit ab6fad3
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components-react-wrap/deploys/67b4cf3dd925ff0008c40bfd
😎 Deploy Preview https://deploy-preview-12212--ibm-dotcom-web-components-react-wrap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@bruno-amorim bruno-amorim left a comment

Choose a reason for hiding this comment

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

Fantastic work mate! Approved!

Copy link

netlify bot commented Feb 18, 2025

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit ab6fad3
🔍 Latest deploy log https://app.netlify.com/sites/ibm-dotcom-web-components/deploys/67b4cf3d33fd08000832eb8f
😎 Deploy Preview https://deploy-preview-12212--ibm-dotcom-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@marcelojcs marcelojcs self-assigned this Feb 18, 2025
@marcelojcs marcelojcs added the Ready to merge Label for the pull requests that are ready to merge label Feb 18, 2025
@kodiakhq kodiakhq bot merged commit 2dcc5ed into carbon-design-system:main Feb 18, 2025
22 of 23 checks passed
Copy link
Contributor

Hey there! This issue/pull request was referenced in recently released v2.17.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants