question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFC: SpeedDial and Tooltip vs. Labels

See original GitHub issue

I’d like to use this issue to gather some real world examples of speed dials with tooltips to see what the optimal solution should be.

I believe that we don’t actually have to pull in the Tooltip dependency from the core. The spec does not mention implicit tooltips but only labels and then only persistent labels.

Pros

  • smaller bundle
  • reduced implementation logic
  • clear answer to what is the root element of SpeedDialAction (concerns className property)
  • simpler logic for persistent “tooltip” (i.e. labels) regarding open transitions (there is a race condition when opening the Actions and applying focus to the first actions which causes a misplaced tooltip)

Cons

  • the current cloneElement approach makes it hard for users to actually apply a tooltip. However other core components have the same issue (see #12921)

If somebody wants to have some sort of tooltip for the actual FAB then I would refer to the extended FAB variant.

Examples

Labels

Tooltip

Other implementations

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
eps1loncommented, Oct 4, 2018

A lenovo thinkpad x1. Had the keyboard and mouse plugged in. In tablet and non-tablet mode. It seems google doesn’t do much with their ui besides browser vs. native app.

0reactions
eps1loncommented, Oct 11, 2018

@aemc Please open a separate issue and follow the issue template.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SpeedDial and Tooltip vs. Labels #13088 - mui/material-ui
The spec does not mention implicit tooltips but only labels and then only persistent labels. Pros. smaller bundle; reduced implementation logic ...
Read more >
Tooltips for label descriptions | GitHub Changelog
Focusing or hovering over a label now displays the label description in a tooltip. Shows the "enhancement" label with a tooltip that reads ......
Read more >
Material UI SpeedDial | How to customize ToolTips
Keep in mind this works when tooltipOpen is set to true. ... tooltipOpen to get how tooltip is working in material with SpeedDial...
Read more >
RFC 8222: Selecting Labels for Use with Conventional DNS ...
This is of particular relevance where some environments use DNS labels that ... of characters in labels that are not permitted by IDNA2008...
Read more >
Speed Dial - PrimeVUE - PrimeFaces
The modifiers of Tooltip can be used like an object in it. Valid keys are 'event' and 'position'. aria-label, string, null, Defines a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found