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

Arrows don't appear properly when the plugin is first displayed in a Details -> Summary HTML element. #185

Closed
leonfresh opened this issue Oct 20, 2020 · 7 comments
Labels

Comments

@leonfresh
Copy link

Hello I'm using Details and Summary HTML elements, and the arrow-head doesn't appear if the first RPB chessboard is within one. It works fine if the first RPB chessboard is not within a details element.

https://chesstuts.com/amazing-tactics-positional-plans-that-happened-in-my-games/

@yo35
Copy link
Owner

yo35 commented Nov 16, 2020

Hi,
Again, sorry for the late reply. Is there a page in your website in which the problem appears? It's easier to understand what is wrong on an example.

@leonfresh
Copy link
Author

leonfresh commented Nov 16, 2020 via email

@yo35
Copy link
Owner

yo35 commented Nov 16, 2020

I didn't know that <details> feature in HTML, I thought it was something brought by a custom WordPress plugin or something... Anyway.

I cannot reproduce the problem on my side: I've created a new article, put a diagram within a <details> HTML tag, ensured that there is no other RPB chessboard content in the page, but when I open <details> block, the the arrow looks OK:
diagram_in_details

I've tried both with a [fen] diagram or with an inline diagram within a [pgn] game, same behavior.

This may be a browser-specific issue. I've tried with Firefox 82 and Chrome 86, no problem. What is your browser?

This may also be related to your theme, and in this case, it would be easier to figure out what is wrong if you could provide me a with an example of a page showing the problem.

@leonfresh
Copy link
Author

leonfresh commented Nov 18, 2020 via email

@leonfresh
Copy link
Author

leonfresh commented Nov 18, 2020 via email

@yo35 yo35 added the bug label Nov 18, 2020
@yo35
Copy link
Owner

yo35 commented Nov 18, 2020

OK, I see. Thanks for the demo, I'm now able to reproduce it on my side.

@yo35
Copy link
Owner

yo35 commented Nov 18, 2020

Fixed in version 5.8.1

@yo35 yo35 closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants