Modification of chat message html causes conflict with Beyond20
- FVTT version: v10
- DsN version: 4.6.2
- System: dnd5e
- Step to reproduce: Using Beyond20, make any weapon attack roll
I've tried fixing Beyond20 which is apparently broken on v10 but I've discovered the issue is an incompatibility with DSN. Basically, it appears that DSN will hide the chat message (until the 3d dice finish rolling) and when it re-displays the message, it seems to inject style="display: block;"
into div
elements that it shouldn't.
Looking at the DOM, you can see that the .beyond20-tooltip-content
(which has a CSS to display on hover) has a hardcoded style="display: block;"
added to it for some reason.
Refreshing the page fixes it :
Proving that the original html in the chat message didn't have that display: block
style added to it. And the issue also disappears when we disable DSN.
I think whatever hides/shows the chat message is being a bit overzealous in adding the display
property to the message html, and is causing all the tooltips from showing.
Thank you for looking into it.