Skip to content

[Tooltip] Tooltips aren't displayed on focus on TextFields #14468

@codeheroics

Description

@codeheroics
  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

Using a Tooltip component with disableHoverListener around a TextField component should display the tooltip on focus

Current Behavior 😯

No tooltip is displayed

Steps to Reproduce 🕹

Link: https://codesandbox.io/s/ooywx0xlq9

  1. Click on the TextField, nothing is displayed.

Testing anywhere the following code sample is enough to reproduce :

<Tooltip title="TestTooltip" disableHoverListener>
  <TextField label="TestTooltip" />
</Tooltip>

Context 🔦

Display hints for user entering their data.

This used to work, and, after trying a few versions, appears to be broken starting v3.1.1

Your Environment 🌎

Tech Version
Material-UI v3.9.2
React 16.6.3
Browser Firefox 66b, Chromium 71

As always, thanks for the great project 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.scope: tooltipChanges related to the tooltip.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions