Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Code Snippet Rendering Bug on Slow/Mobile Connections #23

Open
DavidHDev opened this issue Jan 15, 2025 · 1 comment
Open

[BUG] Code Snippet Rendering Bug on Slow/Mobile Connections #23

DavidHDev opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DavidHDev
Copy link
Owner

Bug Description
When opening any component, it's possible for the syntax highlighter to fail in recognizing the code snippet being passed down to it, displaying the code as a series of [object Object] strings

Steps To Reproduce
Typically reproduced on mobile devices, or on very slow connections, no other specific reproduction steps. Refreshing the page might temporarily fix the issue, but it will happen again if your connection is slow.

Expected behavior
The code snippets are all rendered from the start.

Screenshots
Screenshot 2025-01-15 at 20 36 24

Device (please complete the following information):

  • Device: any (slow connection), especially mobile
  • Browser: any
@DavidHDev DavidHDev added the bug Something isn't working label Jan 15, 2025
@DavidHDev
Copy link
Owner Author

Attempted a fix for this in dcdaebe, if the issue still persists please comment below to let me know, as it's hard to reproduce and I wasn't able to do it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant