codeant-ai-for-open-source[bot] commented on PR #38792:
URL: https://github.com/apache/superset/pull/38792#issuecomment-4106489027

   ## **Sequence Diagram**
   
   This PR updates how the Select component chooses its popup container to 
prevent double scrollbars. It now keeps a custom container when provided, 
otherwise uses the nearest modal container, and falls back to the page body.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant Select
       participant DOM
       participant Popup
   
       User->>Select: Open dropdown
       Select->>Select: Check custom popup container prop
   
       alt Custom container provided
           Select->>Popup: Render in provided container
       else No custom container
           Select->>DOM: Find nearest modal container
           alt Modal container found
               Select->>Popup: Render inside modal container
           else No modal container
               Select->>Popup: Render in document body
           end
       end
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


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