Skip to content

rgh-toggle-files is not re-added after navigation #6077

Closed

Description

@panva

Description

The "Toggle files section" does not get re-added after github's turbo navigation.

How to replicate the issue + URL

  1. https://github.com/panva/oauth4webapi
  2. Click the "Toggle files section" element
  3. Navigate to Issues
  4. Navigate back to Code
  5. The toggle is gone, the only way to expand the files section is to do a full reload, then the toggle is present.

Kapture 2022-10-12 at 11 23 49

Extension version

22.10.11

Browser(s) used

Chrome latest

NB: I hid the "The file list was collapsed via Refined GitHub" notice with .rgh-files-hidden-notice{display:none;} because it has caused issues in the past (getting added multiple times), it also causes content to get pushed after it has rendered, everything's much more stable vertically when this notice is gone.

Activity

  1. changed the title [-]rgh-toggle-files not re-added after navigation[/-] [+]rgh-toggle-files is not re-added after navigation[/+] on Oct 12, 2022
  2. fregante commented on Oct 12, 2022

    @fregante
    Member

    it has caused issues in the past (getting added multiple times)

    That was fixed

    it also causes content to get pushed after it has rendered

    I'll fix that in my next PR

    5. The toggle is gone

  3. self-assigned this
    on Oct 12, 2022
  4. panva commented on Oct 12, 2022

    @panva
    Author

    Cheers @fregante, I'll keep the notice hidden anyway, it's just clutter.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions