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

Report map doesn't zoom for newly created resources #640

Open
chrabyrd opened this issue Jan 7, 2021 · 0 comments
Open

Report map doesn't zoom for newly created resources #640

chrabyrd opened this issue Jan 7, 2021 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@chrabyrd
Copy link
Contributor

chrabyrd commented Jan 7, 2021

Describe the bug

In the report screen, for newly created resource instance, the map remains in the default zoom.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new resource instance that has a geojson collection widget
  2. Create a new feature ( geometry )
  3. Immediately navigate to the report screen
  4. Notice the map hasn't zoomed to the bounds of the featureCollection
  5. Back out to the main application screen
  6. Navigate back to the report view
  7. Notice the map has now zoomed appropriately

Expected behavior
A clear and concise description of what you expected to happen.

In the report view, the map should always zoom to the bounds of the featureCollection if it exists.

@chiatt chiatt added the Type: Bug Something isn't working label Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants