question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Items inside a menu that has `withSearchBox` become first in the list after refinement

See original GitHub issue

Bug: What is the current behavior?

  1. Go to react-instantsearch storybook
  2. Notice Textiles & Rugs is second in the list of items
  3. Click Textiles & Rugs
  4. Notice Textiles & Rugs order is changed and now appears first in the list.

Bug: What is the expected behavior? I’d expect the item order to be retained after refinement. At least thats whats happens with menu’s that don’t have withSearchBox.

– Thank you for this excellent package.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lkbrcommented, Oct 16, 2017

Sounds good.

It’s not yet live but I’ll try to remember to post it back here when it is!

I’ve really enjoyed working with your Connectors api. Thank you.

0reactions
sarahdayancommented, Dec 20, 2022

The behavior is inconsistent with other flavors (no other flavor has a searchable <Menu> but it’s the same with <RefinementList>). Keeping the order when the menu is searchable is not perfect but that’s what we defaulted to. We might at least want to be consistent.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Items inside a menu that has `withSearchBox` become first in ...
Bug: What is the current behavior? Go to react-instantsearch storybook Notice Textiles & Rugs is second in the list of items Click Textiles ......
Read more >
Upgrading React InstantSearch - Algolia
Anytime you are using a connector, when there are no more items in it or no more hits, your component will still be...
Read more >
Css Left Navigation - Vacanza in Val di Non
The Idea of CSS-only Responsive Navigation Menu Basically, this technique moves around using HTML lists. When both left and right are. Remember, you've...
Read more >
react-instantsearch-dom | Yarn - Package Manager
This is the React version of Algolia's instantsearch library. Go to the React InstantSearch website or the React InstantSearch GitHub repository for more ......
Read more >
office-ui-fabric-react/CHANGELOG.md - UNPKG
523, - Contextual Menu calls onMenuOpened when hidden is changed from undefined ... 1323, - DetailList: only select the first item on keydown...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found