ng-bootstrap / ng-bootstrap/ng-bootstrap
Tooltip > disableTooltip does not close the tooltip when changed
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.2k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
When using disableTooltip on the Tooltip component, if the tooltip is visible, it does not automatically hide the tooltip. This seems conter-intuitive.
The only workaround, is to instead, set ngbTooltip to null when we really want it disabled, as it will remove the tooltip and make sure it cannot be open again
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Angular Tooltip component and the handling of its disableTooltip input. Reproduce the case where a visible tooltip is disabled, then verify that changing the input hides it immediately and that the existing tooltip behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100