mi6 / mi6/ic-ui-kit

[ic-toggle-button] - add fixed positioning prop for tooltip

Open
#3,904 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

### 💬 Description
https://github.com/mi6/ic-ui-kit/pull/3872 added support for setting fixed positioning of tooltips and tooltips on buttons. This can be useful in scenarios where tooltips are chopped off by a parent container. An `ic-toggle-button` uses an `ic-button` under the covers so it would be good to allow this to be set for toggle buttons.

This would involve adding a `tooltipFixedPositioning` prop to `ic-toggle-button` and `ic-toggle-button-group`

### 💰 Use value
Makes the components consistent

### 🧾 Guidance
An example should be added to the guidance site

### 🚨 Urgency (low, medium or high)
medium - a team requested it, but does have a workaround

Contributor guide

Open the contributing guide

Research direction

Start with the ic-toggle-button and ic-toggle-button-group implementations, then trace the existing fixed tooltip positioning support in ic-button. Add the tooltipFixedPositioning prop to both components and document an example on the guidance site; the work is complete when toggle-button tooltips can use fixed positioning consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.