vaadin / vaadin/framework

Component description (tooltip) can't have custom delay

Open
#9,367 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Vaadin 8.0.6

When a component (Label for example) has a description (example call: label.setDescription("Hello World!");), the delay of the tooltip to become visible isn't directly adjustable.

The only way you can adjust delays (I see at this moment) , is by adjusting the delay of the ToolTipConfiguration of the UI. But that is not really doing what I'm suggesting here.

I would expect some method on Component level that provides means to adjust the delay for the component's tooltip to become visible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the component description flow around Component#setDescription and the UI-level ToolTipConfiguration mentioned in the issue. Determine how tooltip delay is currently selected and define the component-level behavior, including how it interacts with the UI default. Done means a component can configure its own tooltip visibility delay without changing the UI-wide setting, with tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.