react
react copied to clipboard
An implementation of GitHub's Primer Design System using React
**Describe the bug** As the doc, `NavList` can [be used with Next.js](https://primer.style/react/NavList#with-nextjs). But it occur a `Error: Maximum update depth exceeded`. ``` Error: Maximum update depth exceeded. This can happen...
**Describe the bug** The `Tooltip` component currently uses a `::before` pseudo-element to render its content, with a z-index of `1000001`. While this works in a lot of scenarios, it does...
Per https://github.com/github/docs-engineering/issues/2007 the dark mode `ActionList` `:hover` is unreadable, see [this screenshot](https://twitter.com/lustcoder/status/1549383921946828803). We can override the `:hover` for the `ActionList.Item` in our codebase, but have to use `!important` to have...
The avatar was missing a border compared to the css implementation. The change is best visible in dark modes with @colebemis's avatar. ``` ``` ### Merge checklist - [ ]...
**Describe the bug** I am not able to specify a tabindex on an ActionList.LinkItem. I would like the link item to be tabbable, but it seems like the focuszone handling...
**Describe the bug** `SelectPanel` not scrolling with anchoring element when parent containers have different overflow properties. This also happens with `ActionMenu`. **To Reproduce** In memex list view: 1. Go to...
It includes react 18 in peerDependencies as an addition to #2196 changes. ### Screenshots Please provide before/after screenshots for any visual changes ### Merge checklist - [ ] Added/updated tests...
### What are you trying to accomplish? Some accessibility issues in the [Primer React ActionList component](https://primer.style/react/ActionList) have been discovered during the [Primer React SelectPanel component](https://primer.style/react/SelectPanel) accessibility engineering review, and since...
#### Changes 1. Adds an optional argument to `useAnchoredPosition` to observe changes to anchor element: `observe` 2. AnchoredPosition now uses useAnchoredPosition with `observe` which means overlay re-positions based on changes...
**Error while installing primer react** I am installing primer react with [email protected] with @primer/[email protected] but facing following Errors  **To Reproduce** Steps to reproduce the behavior: 1. Create react app...