Description
We noticed an unexpected border in the footer of SelectPanel which causes odd UI which especially noticeable in dark mode. An example is the GitHub issue label picker:

I did some spelunking and suspect that this might be the culprit: https://github.com/primer/react/blame/65a197b01fa50d0c4a58bd5eff46dc7f2e6d6dfc/packages/react/src/SelectPanel/SelectPanel.tsx#L524-L525
Steps to reproduce
- Go to any issue on e.g. https://github.com/primer/react/issues
- Open the label picker
- Observe a very prominent border between the labels list and the "Edit labels" footer
Version
v37.13.0
Browser
Edge
Description
We noticed an unexpected border in the footer of
SelectPanelwhich causes odd UI which especially noticeable in dark mode. An example is the GitHub issue label picker:I did some spelunking and suspect that this might be the culprit: https://github.com/primer/react/blame/65a197b01fa50d0c4a58bd5eff46dc7f2e6d6dfc/packages/react/src/SelectPanel/SelectPanel.tsx#L524-L525
Steps to reproduce
Version
v37.13.0
Browser
Edge