-
Notifications
You must be signed in to change notification settings - Fork 10
773 chipblock linkbug #1195
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
773 chipblock linkbug #1195
Conversation
@CodiumAI-Agent /describe |
Title773 chipblock linkbug User descriptionDescriptionImplemented the navigation for link option of chip block Changes MadeImplemented the navigation for link option of chip block PR TypeBug fix Description
Changes walkthrough 📝
|
@CodiumAI-Agent /review |
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to 383d8b7
Previous suggestionsSuggestions up to commit 8d53e62
|
@@ -141,7 +141,7 @@ export const ChipBlock: BlockComponent = observer(({ id }) => { | |||
<a href={link}> | |||
<Chip | |||
{...chipProps} | |||
onClick={(e) => e.preventDefault()} | |||
onClick={(e) => {e.preventDefault();window.open(link, '_blank','noopener,noreferrer')}} |
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.
why does the Chip need an onClick when there is an anchor tag wrapping it? can't we get rid of the onClick on the chip altogether and use the anchor tag?
…oss-ui into 773-chipblock-linkbug
@Mezzet link on chip fix, take a look at code |
@CodiumAI-Agent /update_changelog |
Changelog updates: 🔄 2025-05-27 #1195Added
|
Description
Implemented the navigation for link option of chip block
Changes Made
Implemented the navigation for link option of chip block