Is it possible to make APITable
handling double click too?
#10516
Closed
flixyudh
started this conversation in
Release feedback
Replies: 1 comment 1 reply
-
This I'd be happy to improve that if you want to submit a PR, but a It's not a priority for me to fix this, so please submit a PR if you want to try. But I'd rather not merge a hacky PR with a setTimeout solution 😅 If we delayed the scroll to detect a double click that might feel awkward too. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I usually use double click to copy paste text from site content especially for API
property
, and when I tried to double click https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#markdown-front-matter I notice that the table would be focus on top when first click, and it's blocking me to block theproperty
.example:
Screen.Recording.2024-09-22.at.22.23.54.mov
is it possible to make the table handle such a case?
I was thinking to wrap a function into
timeout
foronClick
props andclearTimeout
whenever ondblclick is triggered, but I don't know if it's a good way to do as I'm still a beginner.Beta Was this translation helpful? Give feedback.
All reactions