Skip to content
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 click event for tooltip #644

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

sudhanshutech
Copy link
Member

@sudhanshutech sudhanshutech commented Jun 7, 2024

Notes for Reviewers

This PR fixes the click event on links inside tooltips which was mainly occurring inside modal . Moving event propogation below now ensures that the link is opened first, and then the event propagation is stopped.

Adding as="a" ensures that the StyledMarkdown component is rendered as an tag, making it behave correctly as a hyperlink.

Recording.2024-06-07.155843.mp4

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Sudhanshu Dasgupta <[email protected]>
Copy link
Contributor

@dragon-slayer875 dragon-slayer875 left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you. 😄

@dragon-slayer875 dragon-slayer875 merged commit 271b953 into layer5io:master Jun 7, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants