Arunodoy18 opened a new pull request, #37580:
URL: https://github.com/apache/superset/pull/37580

   ### SUMMARY
   
   Fixes an issue in the World Map chart where hover highlighting did not reset
   correctly after mouse-out for countries with no data. This caused countries
   without data to remain highlighted even after the cursor moved away, leading
   to an incorrect visual state in both Explore and Dashboards.
   
   This change ensures that on mouse-out, each country correctly returns to its
   original fill color:
   - data-driven color for countries with data
   - neutral “no data” color for countries without data
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Not applicable.
   
   ### TESTING INSTRUCTIONS
   
   **Manual testing:**
   1. Create or open a World Map chart with some countries that have no data.
   2. Hover over a country with no data and observe the hover highlight.
   3. Move the mouse away from the country.
   4. Verify that the country returns to the neutral “no data” color.
   5. Repeat the same steps for a country with data and confirm it resets to the
      original data-driven color.
   
   **Automated testing:**
   - Updated/added frontend tests to verify that hover state is correctly 
cleared
     on mouse-out for both data and no-data regions.
   
   ### ADDITIONAL INFORMATION
   
   - [x] Has associated issue: Fixes #37569
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in SIP-59)
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API


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