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

website docs - cant copy code due to overriding selection #29159

Open
Syth-1 opened this issue Feb 24, 2025 · 0 comments
Open

website docs - cant copy code due to overriding selection #29159

Syth-1 opened this issue Feb 24, 2025 · 0 comments
Labels
bug Something isn't working right

Comments

@Syth-1
Copy link

Syth-1 commented Feb 24, 2025

Bug Description

Bug description

Using firefox (not tested with chrome) when trying to copy code from the docs, another element is taking focus and cancelling all selection every 3 or so seconds, as you can imagine, this is very frustrating as i am battling to copy lines of text from the docs.

How to reproduce

  1. select code
  2. wait until focus is taken, witness how the code box scroll bar is flashing, i asume that is the culprit
  3. focus is taken away, selection is lost, try copying a little faster next time 😭

Additional context

culprit page url: https://eu.posthog.com/project/52695/onboarding/product_analytics?step=install

Debug info

the selection behaviour affects all code boxes on the page, not explicitly limited to this one:

20250224-2328-53.9292927.mp4
@Syth-1 Syth-1 added the bug Something isn't working right label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

1 participant