eui icon indicating copy to clipboard operation
eui copied to clipboard

Problem with the EuiAvatar component, when changing theme.

Open BartoszMarciszewski opened this issue 3 years ago • 1 comments

Cannot assign to read only property 'backgroundColor' of object '#<Object>' at EuiAvatar (webpack://xxxx/./node_modules/@elastic/eui/es/components/avatar/avatar.js?:98:33) at renderWithHooks (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:14985:18) at updateFunctionComponent (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:17356:20) at beginWork (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:19063:16) at HTMLUnknownElement.callCallback (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:3945:14) at Object.invokeGuardedCallbackDev (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:3994:16) at invokeGuardedCallback (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:4056:31) at beginWork$1 (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:23959:7) at performUnitOfWork (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:22774:12) at workLoopSync (webpack://xxxx/./node_modules/react-dom/cjs/react-dom.development.js?:22702:5)

BartoszMarciszewski avatar Sep 19 '22 14:09 BartoszMarciszewski

Unfortunately, this isn't really enough information for us to help you with.

  1. Can you create a reproducible CodeSandbox of whatever issue you're running into? We need to see how you're using EuiAvatar and whether the issue lies within EUI source code or how you're using it (e.g., an issue with your tooling/pipeline).

  2. Does this happen to you if you try other components that aren't EuiAvatar?

cee-chen avatar Sep 19 '22 15:09 cee-chen

👋 This issue hasn't seen activity in 3 days, so we're automatically closing this issue as answered. Please leave a comment if that's not the case, or if you have any remaining questions or issues.

github-actions[bot] avatar Sep 22 '22 16:09 github-actions[bot]