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

   ### SUMMARY
   Fixes an issue where the World Map chart's country fill color would not 
reset after hovering out. The highlight color would persist even after moving 
the mouse away from a country.
   
   This PR:
   - Stores the original fill color in a `data-original-fill` attribute on 
mouseover
   - Restores the original fill color on mouseout
   - Adds unit tests to verify the hover behavior
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A - behavior fix
   
   ### TESTING INSTRUCTIONS
   1. Create or open a World Map chart
   2. Hover over a country - it should highlight
   3. Move mouse away from the country - it should return to its original color
   4. Verify countries with data return to their data-based color
   5. Verify countries without data return to the default gray color
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration
   - [ ] 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