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

Responsive design - map rotation #46

Open
TianshengC opened this issue Oct 6, 2023 · 2 comments
Open

Responsive design - map rotation #46

TianshengC opened this issue Oct 6, 2023 · 2 comments

Comments

@TianshengC
Copy link
Collaborator

Create “Please rotate your screen” map cover (shows when screen is too narrow)

@mferryRV
Copy link
Collaborator

mferryRV commented Oct 7, 2023

To support mobile widths, follow this Figma design on page "Mobile wireframe...".

image

When a screen is too narrow, we need to display a prompt requesting the user to turn their screen for accurate viewing.

The MapSection component will need the following functionality when the screen is too narrow:

  • Icons are not displayed on the map
  • The map is cut off at the edges
  • Nothing on the map is clickable
  • The map overlay says "Please rotate your screen for a better viewing experience"

This ticket depends on #43

@mferryRV
Copy link
Collaborator

mferryRV commented Oct 7, 2023

Per Roger - To avoid user interaction, you can overlay a transparent layer which blocks the clicks. When you rotate to the correct orientation, the layer is hidden.

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

No branches or pull requests

2 participants