Skip to content

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

Open
@Mitko1239

Description

@Mitko1239

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions