communityconnect icon indicating copy to clipboard operation
communityconnect copied to clipboard

Clicking a location on the map does not cause the organizations sidebar to scroll to the selected organization

Open DavidNoftsier opened this issue 8 years ago • 0 comments

Expected behavior: When clicking an organization on the map, the organizations sidebar should scroll to the selected organization.

Actual behavior: The organizations sidebar is not effected by map clicks. When running locally the page an error is given.

An error is caused in the OrganizationCard component when trying to make this call: this.refs.cardRef.scrollIntoView({block: "center", inline: "center"}) on line 17 of the OrganizationCard component.

It looks like <div ref="cardRef"> was recently removed from the JSX section of the OrganizationCard file and caused this to break, so I'm adding it back in.

bugscrollingtoorganization erroronlocal

DavidNoftsier avatar Oct 26 '18 03:10 DavidNoftsier