Skip to content

quick-comment-edit - Issue with list item description fails on re-edit button press #10003

Closed

Description

@fmigneault

Description

After editing an issue description once and saving, clicking the pencil icon again throws:

ElementNotFoundError: Expected element not found: li[data-component="ActionList.Item"]:has(.octicon-pencil)

Because of this, the issue cannot be further edited unless the entire page is refresh to reset whatever the script breaks.

It looks like this might have been introduced by #9754 (where the corresponding selector of the error was added).

How to replicate the issue + URL

crim-ca/weaver#837

Pick an issue that was created by the user or where editor access is available.
The PR most probably needs at least a few list items to trigger the condition.
Testing on another issues without lists or very-minimal contents seems to not suffer this problem.

Demo:

Image

Extension version

26.8.8

Browser(s) used

Firefox 154.0 (64-bit)

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. fregante commented on Aug 26, 2026

    @fregante
    Member

    Are you able to edit the comment via GitHub's own dropdown after this fails?

    GitHub is known to often fail to show an "edit comment" menu item so of course we fail to find it too.

  2. fmigneault commented on Aug 27, 2026

    @fmigneault
    Author

    Yes. It works with the dropdown.

  3. fregante commented on Aug 27, 2026

    @fregante
  4. fmigneault commented on Aug 28, 2026

    @fmigneault
    Author

    My bad. I wrote "PR", but it actually happening on issues. I do not have the problem on PRs.

  5. changed the title [-]`quick-comment-edit` - PR with list item description fails on re-edit button press[/-] [+]`quick-comment-edit` - Issue with list item description fails on re-edit button press[/+] on Aug 28, 2026
  6. fregante commented on Aug 30, 2026

    @fregante
  7. fregante commented on Aug 30, 2026

    @fregante
    Member

    I could repro with the exact content from your issue: refined-github/sandbox#162

    The issue appears only after you successfully edit a comment, not when cancelling and clicking again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions