Skip to content

[Bug] Tooltip mode "START" doesn't show the tooltip at all. #382

Description

@thrandale

Bug Description:
If you set the tooltip mode to "START", the tooltip is never shown.

Steps To Reproduce:

  1. Set the tooltip mode to "START"
  2. Open the page, and the tooltip doesn't show
  3. The following snippet demonstrates the issue:
import ChatBot, { type Settings } from "react-chatbotify";
import "./App.css";

function App() {
  const settings: Settings = {
    tooltip: {
      mode: "START",
    },
  };

  return <ChatBot settings={settings} />;
}

export default App;

Expected behavior:
According to the docs, when tooltip.mode == "START", the Tooltip is shown once on page load

Library version:
2.5.0

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions