Skip to content

Fire a redraw when the back button is pressed #7402

@irevoire

Description

@irevoire

Hey,

Is there a way to detect that the URL changed or even that the back button was pressed directly?

Is your feature request related to a problem? Please describe.
I'm making a small blog on egui+eframe, and I noticed that when I pressed the "Go back one page" button on my browser, absolutely nothing happened on egui.
I would like to redraw the page, but no events are thrown (I put a log in raw_input_hook and saw nothing was fired).

Describe the solution you'd like
I think an event or a redraw should be fired saying the url changed

Describe alternatives you've considered
I didn't find any yet

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions