pebble-dev / pebble-dev/developer.rebble.io

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

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: static type: bug
Dominant language
JavaScript
Stars
9
Forks
31
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the documented Window page and the window_set_click_config_provider_with_context search result. The payload names no source files or tests, so trace the search results link handling from the site's search entry point. Done means selecting an anchor result moves to the heading and hides the results dropdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, search, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.