[examples] Bizarre render bug when a Button is used inside a Card on SSR (remix-run)
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
Codesandbox: https://codesandbox.io/s/happy-monad-5qif8r?file=/app/src/createEmotionCache.ts
Following the remix run example, when using a Button
or IconButton
inside a Card > CardActionArea
- it seems that the server side render puts additional cards outside the layout.
I cannot really describe what I’m seeing, its better to just look at the code sandbox.
Weirdest bug i’ve seen this year so far.
I’m also not sure where to file the bug report, here or over on @remix-run. But at the moment I feel like its probably something that the CardActionArea is doing that is not fully supported by remix? Either that, or the remix integration example is missing something.
Note: I also tried initialising the emotion cache with prepend: true
but this causes my app to render nothing at all.
Expected behavior 🤔
It should not duplicate the render of certain cards
Steps to reproduce 🕹
No response
Context 🔦
No response
Your environment 🌎
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top GitHub Comments
@danilo-leal if you re-open the issue but it still has the
status:incomplete
label it will close again in a week 😃 You need to remove it if there is a reproduction.@dan-cooke I’ll take a look as soon as I can.
I also just encountered this issue. Good to see that it has already been reported!