bito-code-review[bot] commented on code in PR #37022:
URL: https://github.com/apache/superset/pull/37022#discussion_r2686712985


##########
superset-frontend/plugins/plugin-chart-echarts/src/utils/tooltip.ts:
##########
@@ -27,12 +27,21 @@ import {
 import { TOOLTIP_OVERFLOW_MARGIN, TOOLTIP_POINTER_MARGIN } from '../constants';
 import { Refs } from '../types';
 
+const TOOLTIP_Z_INDEX = 2000;

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Tooltip z-index too low</b></div>
   <div id="fix">
   
   The z-index change from 2147483647 to 2000 may cause tooltips to appear 
behind full-size charts, which have z-index 3000 in ChartHolder.tsx. This could 
hide tooltips when interacting with expanded charts.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
    const TOOLTIP_Z_INDEX = 4000;
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #f570ed</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a 
href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



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