ethanaturner opened a new issue, #25018: URL: https://github.com/apache/superset/issues/25018
Changing filters on a deck.gl Path chart does not trigger autozoom (initial viewport remains). #### How to reproduce the bug 1. Create a deck.gl Path chart with autozoom enabled (preferably provide a `MAPBOX_API_KEY` in the environment to better view the chart and issue) 3. Create a filter box for the same dataset 4. Add the filter box and chart to a dashboard 5. View the dashboard and select a filter option that reduces the data points to a subset within close proximity of each other 6. See that autozoom is not triggered/the viewport is not recomputed ### Expected results Reducing the number of visible data points on the chart, such that the remaining visible data points are in closer proximity, should zoom the viewport towards these data points. ### Actual results Autozoom is not triggered and the viewport remains at the initial setting. #### Screenshots ##### Path chart settings <img width="454" alt="chart_settings" src="https://github.com/apache/superset/assets/17074013/b3d93c61-5c5e-43d3-ba71-eefbe29e7835"> ##### Initial view <img width="1512" alt="initial_view" src="https://github.com/apache/superset/assets/17074013/9bdd4109-a341-411c-8b3a-856be280ff54"> ##### Filter applied <img width="1512" alt="filter_applied" src="https://github.com/apache/superset/assets/17074013/92659526-09ca-42b7-89c7-cb9ff66ec475"> ##### Where the chart should actually autozoom (approximately) <img width="1512" alt="actual_autozoom" src="https://github.com/apache/superset/assets/17074013/e0696a9b-d22b-4e2f-a7bf-4d922082e51b"> ### Environment - browser type and version: Chrome `116.0.5845.96` - superset version: `2.1.0` - python version: `3.8.16` (environment built with Dockerfile) - node.js version: `16` (environment built with Dockerfile) - any feature flags active: _none_ ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
