Skip to content

Does not work with material navigation.instant #2

@ptyork

Description

@ptyork

The "navigation.instant" feature of the material theme breaks this plugin. It works on full page load (initial load, refresh, etc.) but not after navigating an internal link.

I assume using this feature just prevents the DOMContentLoaded event from firing during internal navigation. Perhaps there is another event that can be used to trigger your *_new_window() functions? I don't know enough about what is core MkDocs vs. Material for MkDocs to even know where to start looking for this. But maybe you do. ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions