Carbon: Support left/right tooltip positioning

Created on 10 May 2019  路  5Comments  路  Source: carbon-design-system/carbon

Most helpful comment

Hi @asudoh @emyarod, I just confirmed: side tooltips are only for icon tooltip on hover, so not definition tooltip.

Expected usage of side tooltip is on side rails & vertical toolbars:

image

All 5 comments

@shixiedesign Do you this the left/right "sides" apply to definition tooltip, too? (Or is it only for icon tooltip?) Thanks!

Hi @asudoh @emyarod, I just confirmed: side tooltips are only for icon tooltip on hover, so not definition tooltip.

Expected usage of side tooltip is on side rails & vertical toolbars:

image

To summarize our tooltip's functionalities:

Interactive tooltip:

  • Position: top, bottom, left right. Done!
  • Alignment: only center. Done!

Definition tooltip:

  • Position: only top & bottom. Done!
  • Alignment: start, center, end. Done!

Icon tooltip:

  • Position: top&button, still need left, right
  • Alignment: center, still need start, end

So we still need a PR for the bolded items on Icon tooltip then we can close this item. Does that seem right to you guys? @asudoh @emyarod

馃摉 Guidelines to add

@connor-leech I think 鈽濓笍 above looks like good info to include in our Tooltip usage section.

all of the icon tooltip requirements are fulfilled

position: top and bottom https://github.com/carbon-design-system/carbon/pull/2749

position: left, right https://github.com/carbon-design-system/carbon/pull/2732

alignment: start, end https://github.com/carbon-design-system/carbon/pull/2732

Perfect! Thanks @emyarod Closing issue then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joshblack picture joshblack  路  3Comments

AnthumChris picture AnthumChris  路  3Comments

mouadcherkaoui picture mouadcherkaoui  路  3Comments

snidersd picture snidersd  路  3Comments

ConradSchmidt picture ConradSchmidt  路  3Comments