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

Closed
DavidHDev opened this issue Jan 15, 2025 · 3 comments
Closed

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

DavidHDev opened this issue Jan 15, 2025 · 3 comments
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

@ipuppyyt
Copy link
Contributor

ipuppyyt commented Jan 27, 2025

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

I tried reproducing the issue and failed. Its fixed I guess.

@DavidHDev
Copy link
Owner Author

I was also unable to reproduce it on both desktop and mobile for the last two weeks. So I guess it's safe to close this. If anyone manages to reproduce it, please open a new issue 🥇

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

2 participants