Skip to content

[Tooltip] Long press select text on iOS #23232

Description

@benneq
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

When opening an IconButton Tooltip on mobile (tested iPhone with iOS 14), it will show the Tooltip, but also show the "copy, define, share..." callout menu and selects some elements.

Expected Behavior 🤔

It should only show the tooltip.

Steps to Reproduce 🕹

Code Sandbox: https://codesandbox.io/s/material-ui-issue-forked-mqyl2?file=/src/Demo.js

Steps:

  1. Open Code Sandbox link on mobile (iPhone iOS 14 tested)
  2. Long press the IconButton
  3. It will show the Tooltip
  4. But it will also open callout menu and select some random elements

Ohne Titel

Context 🔦

See above

Your Environment 🌎

Tech Version
Material-UI v5.0.0-alpha.14
React 17.0.1
Browser Safari on iOS 14
TypeScript 4.1.0-beta
etc. ---

EDIT: I know this happens basically for all buttons. But for normal buttons there's no reason to long press them, though it's not a real issue there.

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