tirkarthi commented on issue #56059:
URL: https://github.com/apache/airflow/issues/56059#issuecomment-3341333172

   The main app is created with "#root". On hovering over task name with mouse 
the selector also uses the `node.id` which is root in this case causing the 
main app selector to be also present in the list. Thus root app's background is 
also set to blue instead of the second element which is related to the task 
name component to be highlighted. Probably filtering based on both class and id 
should help here.
   
   
https://github.com/apache/airflow/blob/fb09d4622fda48c1f91ef5c5f5bc686048d4f888/airflow-core/src/airflow/ui/src/main.tsx#L71-L85
   
   
https://github.com/apache/airflow/blob/fb09d4622fda48c1f91ef5c5f5bc686048d4f888/airflow-core/src/airflow/ui/src/layouts/Details/Grid/TaskNames.tsx#L39-L51
   
   
https://stackoverflow.com/questions/15170186/how-to-get-element-by-both-id-and-class


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

Reply via email to