Skip to content

Search bar results dropdown does not close when result links to same page #78

@HarrisonAllen

Description

@HarrisonAllen

For example,

  1. I'm on this page: https://developer.rebble.io/docs/c/User_Interface/Window/
  2. I search for window_set_click_config_provider_with_context.
  3. Clicking the first link window_set_click_config_provider_with_context will jump to the heading but not remove/hide the results dropdown

I assume that this is due to the link only going to the anchor (#?) rather than opening a new page. It's consistent across other pages/search results as well. (Unfortunately I do not know the codebase well enough to know what to change and submit a PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: staticChanges to static assets eg. Sass styles, JavaScripttype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions