code4romania / code4romania/vot-romania-api

The pop-ups in the map opens upwards

Open
#46 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
6
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When you click on a pin from map, the pop-up with the polling stations opens upwards and can only be closed from X button. In some cases the pop-up comes out of the map area and you have to scroll to see the cancel button.

**Exp:**
![image](https://user-images.githubusercontent.com/70021330/90903898-40a12d80-e3d7-11ea-8a9a-9d3a9aa7e741.png)

**Question:**
Can the pop-up be changed to open down?

Contributor guide

Open the contributing guide

Research direction

Locate the map pin and polling-station pop-up implementation, then inspect how its position and cancel control are handled. Reproduce the issue by selecting a pin near the map boundary; done means the pop-up opens downward when possible and the cancel control remains accessible without scrolling.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.