Attempting to select text in a post, opens the post
Created by: Amelia
💡 Summary
This is some code from my own project that may help with this (the matchMedia if statement is unrelated):
the
on:event
is just an event listener in Svelte
🥰 Expected Behavior
Selecting text should not open the post
🤬 Actual Behavior
It opens the post Screencast from 2023-11-27 15-30-24.webm
📝 Steps to Reproduce
Select some text on a post in a timeline (not opened)
💻 Frontend Environment
* Model and OS of the device(s): Fedora 36, Gnome
* Browser: Firefox 120.0
* Server URL: plasmatrap.com
* Misskey: Sharkey v2023.11.2.beta1
🛰 Backend Environment (for server admin)
* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture: