foundryvtt-lancer
foundryvtt-lancer copied to clipboard
[BUG] Hidden Right Click Menu on Chat Messages
Describe the bug Right clicking on a chat message header should bring up a context menu for stock Foundry functionality. This menu is not visible when running Lancer.
This is an issue with, for example, whispered chat messages. The context menu includes an option to show the message to others, so this becomes impossible.
To Reproduce Steps to reproduce the behavior:
- Creare a whispered chat message.
- Right click on the header, no context menu appears.
- Open the inspector and disable the clip path styling applied to the chat message by Lancer.
- Right click the header again. Context menu now appears.
Expected behavior The context menu should be usable.
My current UI refactor will fix this, but for posterity's sake the offending lines of code appear to be:
- https://github.com/Eranziel/foundryvtt-lancer/blob/master/src/lancer.scss#L205
- https://github.com/Eranziel/foundryvtt-lancer/blob/master/src/lancer.scss#L209
At least for me, the clip path doesn't appear to have any relationship to the issue.
A context menu appears for me on both normal and hidden messages.
OS: Windows 10 Browser: Chrome Foundry version: 11.315 Lancer system version: 2.0.0