mi6 / mi6/ic-ui-kit

Internal issue 2998 - IcButton fullWidth doesn't work alongside title prop

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

Description

When an IcButton has a title prop (in order to add a tooltip), the fullWidth prop does not render the component full width. Removing the title prop returns the button back to being full width. Ideally, we want to be able to add a title prop alongside the button being full width.

Contributor guide

Open the contributing guide

Research direction

Start by locating the IcButton implementation in the TypeScript component library and reproduce the case where title and fullWidth are used together. Trace how those props affect the rendered button, then verify that both the tooltip title and full-width layout work together before adding or updating focused coverage if the project provides it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.