-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
Even after upgrading to React 19, which natively supports popover HTML attributes, we're getting warnings in the console:
styled-components: it looks like an unknown prop "popover" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)
styled-components: it looks like an unknown prop "popoverTarget" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)
Environment
- styled-components: 6.1.19
- React: 19.1.1