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

I would like to hide the tooltip when mouse hover on the layer #938

Open
sivasaravanand opened this issue Dec 26, 2023 · 8 comments
Open

Comments

@sivasaravanand
Copy link

I would like to hide the tooltip when mouse hover on the layer

image
@sivasaravanand
Copy link
Author

May i know where to change the code

@cuixiping
Copy link
Member

You can review your svg source, and remove title="balabala..."

@sivasaravanand
Copy link
Author

You can review your svg source, and remove title="balabala..."

Thanks for your response. I cant remove the title because i am setting here layername as unique. Please let me know where it from trigger there i can parse the title what i want

@cuixiping
Copy link
Member

You can review your svg source, and remove title="balabala..."

Thanks for your response. I cant remove the title because i am setting here layername as unique. Please let me know where it from trigger there i can parse the title what i want

Can you paste your svg demo code here? I didn't see any tool-tips with my svg file.

@sivasaravanand
Copy link
Author

You can review your svg source, and remove title="balabala..."

Thanks for your response. I cant remove the title because i am setting here layername as unique. Please let me know where it from trigger there i can parse the title what i want

Can you paste your svg demo code here? I didn't see any tool-tips with my svg file.

There are lot of files in the folder and i am not sure which one is invoking this tooltip

image

@cuixiping
Copy link
Member

cuixiping commented Jan 3, 2024

You can review your svg source, and remove title="balabala..."

Thanks for your response. I cant remove the title because i am setting here layername as unique. Please let me know where it from trigger there i can parse the title what i want

Can you paste your svg demo code here? I didn't see any tool-tips with my svg file.

There are lot of files in the folder and i am not sure which one is invoking this tooltip

/packages/svgcanvas/core/layer.js

You can modify the code:

  1. Not create <title> element
  2. Set title info to attribute like data-title="...."

@sivasaravanand
Copy link
Author

You can review your svg source, and remove title="balabala..."

Thanks for your response. I cant remove the title because i am setting here layername as unique. Please let me know where it from trigger there i can parse the title what i want

Can you paste your svg demo code here? I didn't see any tool-tips with my svg file.

There are lot of files in the folder and i am not sure which one is invoking this tooltip

/packages/svgcanvas/core/layer.js

You can modify the code:

  1. Not create <title> element
  2. Set title info to attribute like data-title="...."

Is there any option to remove the tooltip from the layer.

@cuixiping
Copy link
Member

Is there any option to remove the tooltip from the layer.

not yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants