wevote / WebApp

We Vote's javascript (client-side) mobile website built with React/Flux. Twitter: @WeVote Apple Store: https://itunes.apple.com/us/app/we-vote-voter-guide/id1347335726 Android: https://play.google.com/store/apps/details?id=org.wevote.cordova&hl=en_US
95 stars 300 forks source link

"Summary of Ballot Items" quicklinks: Make clicking a link expand/open the office if it is currently closed #1549

Closed DaleMcGrew closed 6 years ago

DaleMcGrew commented 6 years ago

Please describe the issue (What happens? What do you expect?)

When you click on an office in the "Summary of Ballot Items" it should expand the office so you can see candidates, as it jumps you there. This could be done with a modified version of this function ("toggleExpandDetails", in "WebApp/src/js/components/Ballot/OfficeItemCompressedRaccoon.jsx") that only opens the office -- it shouldn't close it if it is already open.

DaleMcGrew commented 6 years ago

Verified!