mi6 / mi6/ic-ui-kit

Fix component issues causing errors in guidance site build

Open
#1,204 0 comments 0 reactions 1 assignee View on GitHub

@ad9242 is already working on this.

Since Nov 1, 2023.

checkbox component component: ic-button
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

## Summary
A number of errors appear in the console, both when building the site and visible in the browser dev tools console

## 💬 Description
The following errors occur when building the ic-design-system locally:

Checkbox:
"TypeError: Cannot read properties of null (reading 'style')\n at Checkbox.componentDidRender

Tooltip:
"TypeError: Cannot read properties of null (reading 'innerText')\n at Button.componentWillLoad
"ReferenceError: MutationObserver is not defined\n at Button.componentDidLoad

## 💰 Use value
To reduce polluting build logs with messages

## 📝 Acceptance Criteria

*Given* i am building the guidance site
*When* building locally
*Then* the console does not display any errors relating to the ic-ui-kit components

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.