Skip to content

TextInput.Action tooltip is clipped #4091

@broccolinisoup

Description

@broccolinisoup

Description

Not sure what update cause this but currently with the default direction of the tooltip, the text is not visible because it is clipped. We should update it to use Tooltip v2 and also add a VRT test for this story.

Text input screenshot with the trailing action is in focus and only the tooltip's caret is visible and the text of the tooltip is clipped

Steps to reproduce

  1. Go to https://primer.style/react/storybook/?path=/story/components-textinput-features--with-trailing-action
  2. Focus on the X (trailing action) or hover over it
  3. Observe that the tooltip appears but it is clipped

Version

v36.4.0

Browser

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions