eui icon indicating copy to clipboard operation
eui copied to clipboard

[Docs] Codesandbox environments aren't quite correct for legacy theme

Open cchaos opened this issue 3 years ago • 1 comments
trafficstars

I know the legacy theme is on it's way out, so solving this issue is more dependent on how much effort it would require.

But it looks like the hook useEuiTheme() will always return the Amsterdam theme even if no EuiProvider is wrapping the applicaiton. The creates a contradiction when using the codesandbox links originating while the legacy theme is selected and using that hook.

Example:

Screen Shot 2022-02-10 at 13 52 32 PM

That screenshot originates from the updated example in this PR: #5623

cchaos avatar Feb 10 '22 18:02 cchaos

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

github-actions[bot] avatar Aug 10 '22 00:08 github-actions[bot]

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

github-actions[bot] avatar Aug 17 '22 00:08 github-actions[bot]