appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.9k stars 466 forks source link

OnChangeQuery not firing when 2 reactive list on the same page #362

Closed talelk closed 6 years ago

talelk commented 6 years ago

Issue Type: BUG

Platform: WEB

Description: When I use try to put two different reactive list on the same page, onChangeQuery doesn't fire any more or fire for only one time in certain cases.

One of the ResultList is watched by many filters components via react props.

Minimal reproduction of the problem with instructions:

Reactivesearch version: Last Dev Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Anything else:

metagrover commented 6 years ago

Can you attach a codesandbox link replicating this issue?

talelk commented 6 years ago

here is an example

https://codesandbox.io/s/r7y49k2wl4

metagrover commented 6 years ago

Fixed with v2.6.5 🎉