soulsands / trilium-chat

Chat plugin highly integrated with Trilium
https://soulsands.github.io/trilium-chat/
GNU Affero General Public License v3.0
73 stars 9 forks source link

Chat button within Trilium no longer working #12

Closed perfectra1n closed 9 months ago

perfectra1n commented 9 months ago

Hi there!

I'm not sure if I'm doing something wrong, but it looks like the "Chat" button just isn't cooperating with the latest version of Trilium: trilium_KkUpVVD5KR

Even though the cursor does highlight and show the word "Chat" after resizing the window, when clicking, it does not perform any action.

image

However, it does work when using the hotkey.

soulsands commented 9 months ago

Thank you so much for your feedback. This is an interesting bug, the button behaves a lot like point-events:none, but even further, it couldn't even be selected in debug. There was a very suspicious property, app-region:drag, and after some investigation, it turns out that was causing it. The solution was to move the button to a different location. 😀

perfectra1n commented 9 months ago

My frontend JS skills are nearly non-existent, so I appreciate you reviewing the issue and fixing it! :)