tooltips icon indicating copy to clipboard operation
tooltips copied to clipboard

🐛 When displaying a tooltip, the tooltip action prints a single character to the browser's console

Open Mitko1239 opened this issue 8 months ago • 0 comments

Describe the bug When using the 'tooltip' action, and displaying a tooltip using the use:tooltip property, a single "t" gets logged to the browser console via a console.log call

To Reproduce Steps to reproduce the behavior:

  1. Import the tooltip action as usual:
import { tooltip } from "@svelte-plugins/tooltips"
  1. Implement the use:tooltip action on a DOM element:
<div use:tooltip={{ content: "I am a tooltip" }}>
	Hover over me
</div>

Expected behavior No extraneous messages should be logged to the browser console

Screenshots Image Image

Desktop (please complete the following information):

  • OS: Windows 11, version 24H2
  • Browser: Firefox 136.0
  • Version: 4.0.0-beta.1

Smartphone (please complete the following information):

The issue would probably also occur on mobile, however the console is generally not easily accessible.

Additional context Not sure if this is a leftover debug message, and it's not a huge issue, but could probably be cleaned up if not needed.

Mitko1239 avatar Mar 11 '25 18:03 Mitko1239