nogreyway opened a new issue, #33576:
URL: https://github.com/apache/superset/issues/33576

   ### Bug description
   
   **Summary**
   
   In Apache Superset version **4.1.1**, clicking on a legend item in a Deck.gl 
scatter plot chart causes the browser window to scroll to the top of the page. 
This disrupts the dashboard experience, especially on long dashboards.
   
   ---
   
   **Steps to Reproduce**
   
   1. Install Superset 4.1.1 (`pip install apache-superset`)
   2. Create a Deck.gl scatter plot chart with a legend.
   3. Add the chart to a dashboard that is long enough to allow scrolling.
   4. Scroll down and click any legend item in the chart.
   
   ---
   
   **Expected Result**
   
   - Clicking a legend item should **only** filter/highlight data in the chart. 
 
   - The page should **not scroll**.
   
   ---
   
   **Actual Result**
   
   - Clicking a legend item scrolls the browser window to the top of the page.
   
   ---
   
   **Screenshots / GIF**
   
   <!-- (Add GIF or screenshot here if available) -->
   
   ---
   
   **Environment**
   
   - Superset version: 4.1.1 (pip install)
   - Browser: [e.g. Chrome 124, Firefox 125]
   - OS: [e.g. Ubuntu 22.04, Windows 10, macOS Sonoma]
   - Deployment method: pip
   
   ---
   
   **Additional Context**
   
   - This bug was reported and fixed in earlier versions 
([#13092](https://github.com/apache/superset/issues/13092), [PR 
#13335](https://github.com/apache/superset/pull/13335)), but appears to be back 
in 4.1.1.
   - No custom plugins or overrides in use.
   - Hard-refreshing/clearing cache does not help.
   - The issue affects dashboard navigation for end-users.
   
   ---
   
   **References**
   
   - [Previous Issue #13092](https://github.com/apache/superset/issues/13092)
   - [Related PR #13335](https://github.com/apache/superset/pull/13335)
   
   ---
   
   *Please let me know if you need further details or a sample dashboard to 
reproduce!*
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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]

Reply via email to