Skip to content

Fix comment-fields-keyboard-shortcuts - #3396

Merged
fregante merged 6 commits into
refined-github:masterfrom
kidonng:comment-fields-keyboard-shortcuts
Jul 24, 2020
Merged

fregante merged 6 commits into
refined-github:masterfrom
kidonng:comment-fields-keyboard-shortcuts

Conversation

@kidonng

@kidonng kidonng commented Jul 24, 2020 •

Copy link
Copy Markdown
Member

Fix #3388

GitHub has some kind of lazy load logic for the edit comment button, so we need to dispatch a mouseover event to make the button "appear" (though not visible, unless edit-comments-faster is also enabled).

The first trigger will be slow (about 2-3 seconds on my machine) but following triggers will be instant.

I think the same method can be used to make edit-comments-faster more reliable (or can it?)

@fregante fregante added the bug label Jul 24, 2020
@kidonng kidonng changed the title Fix comment-fields-keyboard-shortcuts element selection Fix comment-fields-keyboard-shortcuts Jul 24, 2020
@fregante
fregante merged commit 1495c1c into refined-github:master Jul 24, 2020
@kidonng
kidonng deleted the comment-fields-keyboard-shortcuts branch July 28, 2020 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Up arrow to edit own comment is broken

2 participants