reactivesearch icon indicating copy to clipboard operation
reactivesearch copied to clipboard

List components don't react to map search

Open rbeers opened this issue 6 years ago • 4 comments

Affected Projects React

Library Version: "@appbaseio/reactivemaps": "^3.0.0-beta.11" "@appbaseio/reactivesearch": "^3.12.5"

Describe the bug When you use the search as move feature in a reactive openstreet map, other components don't react to that component id. The map reacts to other list components fine but not the other way around.

To Reproduce Steps to reproduce the behavior:

  1. Run the basic map example
  2. Set searchAsMove and showSearchAsMove to true.
  3. Set the react prop on the places list to react to the map component
  4. Drag the map around and the list doesn't change. The markers change but the list doesn't.

Expected behavior The list should update based on the bounding box of the map search.

rbeers avatar Oct 02 '20 14:10 rbeers

I'm also trying to get List components to react to bounding box queries in the map component. Is this possible?

kmalay avatar Oct 02 '20 14:10 kmalay

@rbeers Can you please share a codesandbox link?

bietkul avatar Oct 02 '20 15:10 bietkul

@bietkul Here is a codesandbox example: https://codesandbox.io/s/priceless-germain-p0q2e

rbeers avatar Oct 02 '20 16:10 rbeers

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 02 '21 16:06 stale[bot]