instacart / instacart/Snacks

Error React does not recognize the `elementAttributes` prop on a DOM element when rending Select component

Open
#283 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
82
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Getting in browser console
```
Warning: React does not recognize the `elementAttributes` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `elementattributes` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in div (created by DropdownMenu)
in div (created by DropdownMenu)
in div (created by DropdownMenu)
in DropdownMenu (created by Select)
in div (created by Select)
in div (created by Select)
in Select (created by FormComponent)
in FormComponent (created by withTheme(FormComponent))
in withTheme(FormComponent) (created by StateHolder)
in div (created by StateHolder)
in div (created by StateHolder)
in form (created by Form)
in Form (created by StateHolder)
in StateHolder (created by ReactExample)
in div (created by StyleRoot)
in StyleRoot (created by Wrapper)
in Wrapper (created by ReactExample)
in ReactExample
```

When rendering a `Select` component. Got this in my own app, then could recreate by cloning the repo and starting the styleguide via `yarn styleguide`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.