AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

Dropdown Clipped By Viewport In Edge Function Logs & Foreign Key Modal

Multiple Radix UI Popper-based dropdowns in the Supabase dashboard are clipped by the viewport, making the Apply button unreachable without resizing; root cause is incorrect available-height calculation by the Popper collision boundary.

highConfidence 72%React

Origin Analysis

Radix UI Popper's collision boundary/available-height calculation fails to clamp the content to the visible viewport, causing the dropdown content wrapper to be sized larger than the reachable screen area and omit an internal scrollbar.
1. Go to Edge Functions -> any function -> Logs. 2. Click the 'Severity' filter button. 3. Reduce browser window height to normal/smaller size. 4. Observe that the dropdown extends below the visible viewport and has no internal scrollbar, making the Apply button inaccessible.

Fixing Code Block

Edge Case Audit

Applying a global max-height rule to all Radix Popper content may affect dropdowns that rely on auto-flipping or submenu positioning; verify that no nested menus or tooltips are inadvertently constrained. This is a hotfix: if any regression appears (e.g., double scrollbars, content cut off in short viewports), roll back by removing the CSS rule and instead pass a custom collisionBoundary/avoidCollisions configuration to Radix Popper per component. Test across Chrome, Firefox, Safari, and at 100% and 75% browser zoom.

Ecosystem Topology

Agent Frameworks

LangChain, LlamaIndex, and Pydantic

  1. highProperty graph relation keys collide when entity IDs or labels contain underscores
  2. highCodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
  3. high[Bug]: HierarchicalNodeParser async methods return the documents unsplit
  4. highLLM.predict_and_call fails with ValidationError for non-function-calling models when react_chat_formatter is omitted
  5. highAnthropic streaming server-tool input_json_delta overwrites completed client tool_use arguments due to stale cur_tool_call state