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

Page Resize Issue #12856

Closed
Zeddling opened this issue May 16, 2023 · 4 comments · Fixed by #12877
Closed

Page Resize Issue #12856

Zeddling opened this issue May 16, 2023 · 4 comments · Fixed by #12877

Comments

@Zeddling
Copy link

Zeddling commented May 16, 2023

Exact URL of where the bug happened

https://lichess.org/training

Steps to reproduce the bug

  1. Open the URL above on either Microsoft Edge or Brave(I haven't tried it out on chrome) and resize the window to half the screen's size.

What did you expect to happen?

I expected to see the chess board.

What happened instead?

The chess board was hidden. Even after using Ctrl + Shift + R, the issue persisted.

Operating system

Windows 11

Browser and version (or alternate access method)

Brave 1.51.114,Microsoft Edge 113.0.1774.42

Additional information

The image shows how the page looks like on resize.

Brave:
Screenshot 2023-05-16 094011

Microsoft Edge:
Screenshot 2023-05-16 094140

The board shows up when I open the inspector panel.
Error observed in the console:

fused to load the stylesheet 
'data:text/css,%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ddg-runtime-checks%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20display%3A%20none%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20' 
because it violates the following Content Security Policy directive:
 "style-src 'self' 'unsafe-inline' lichess1.org". 
Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

@Zeddling Zeddling added the bug label May 16, 2023
@benediktwerner benediktwerner added can't reproduce Needs steps to reproduce and removed can't reproduce Needs steps to reproduce labels May 16, 2023
@wthrajat
Copy link

cant reproduce, I am on Arch Linux and I have tried on Chrome and Firefox, with and without signing-in. Seems like a user specific issue from your side.
Did you try changing the window size through inspecting where people check the responsiveness?

@Zeddling
Copy link
Author

Zeddling commented May 17, 2023

Interesting.
I have right now. The board shows up when I check on responsiveness. When I turn that off it goes back to the same issue. Opening the inspector panel however shows the board again. I'll add the error I see on the console to the description.

@hmm5
Copy link

hmm5 commented May 18, 2023

I'm having a very similar issue. I'm using manjaro/palemoon. I posted a picture of the issue here. https://lichess.org/forum/lichess-feedback/resolution

@jan1577
Copy link

jan1577 commented May 20, 2023

I have the same issue on Windows 10. Both on Chrome and Brave, with and without login. Also in incognito mode, so it shouldn't be an extension.
Issue does not appear on Firefox.

For me, the board disappears from a width of 580 to 798 pixels. If the browser window is larger or smaller, the board reappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants