Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElectionSelect "Softlocking" #144

Open
JesseSilverberg opened this issue Jun 7, 2021 · 0 comments
Open

ElectionSelect "Softlocking" #144

JesseSilverberg opened this issue Jun 7, 2021 · 0 comments
Labels

Comments

@JesseSilverberg
Copy link
Collaborator

This bug arises from the fact that the electionSelect is only shown on certain tabs, and tabs are hidden if they have no data (see #85).

Expected behavior

Not actually sure, there's a few ways I could see this going. I suppose one solution would be to move the electionSelect higher up in the hierarchy, either in the menu on the left or to display above the tabbed/paginated content (like the search bar does).

Actual behavior

You get stuck on the representatives page.

Steps to reproduce the behavior

Enter "700 Avalon Avenue, Virginia Beach, Virginia 23464, United States". There are 2 elections for this address: the Virginia Democratic Primary and the Virginia Republican Primary. Note that screenshots are from my local environment running #143. If you use electionSelect to pick the Republican Primary, the "Polling Place" and "Drop Off Sites" tabs disappear. Maybe this is intended (lmao), but I could see this being a bigger issue if, for example, the election picked by default were the one missing the tabs.

Screen Shot 2021-06-07 at 7 34 03 PM

Screen Shot 2021-06-07 at 7 34 11 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant