Home / Function/ isAtBottom() — supabase Function Reference

isAtBottom() — supabase Function Reference

Architecture documentation for the isAtBottom() function in PreviousRunsTab.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  3bba786d_5fee_f2c6_f751_588dd6e2823e["isAtBottom()"]
  91fd2c8d_c503_b6af_d928_0747dfc52c04["PreviousRunsTab()"]
  91fd2c8d_c503_b6af_d928_0747dfc52c04 -->|calls| 3bba786d_5fee_f2c6_f751_588dd6e2823e
  style 3bba786d_5fee_f2c6_f751_588dd6e2823e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx lines 149–151

function isAtBottom({ currentTarget }: UIEvent<HTMLDivElement>): boolean {
  return currentTarget.scrollTop + 10 >= currentTarget.scrollHeight - currentTarget.clientHeight
}

Subdomains

Called By

Frequently Asked Questions

What does isAtBottom() do?
isAtBottom() is a function in the supabase codebase.
What calls isAtBottom()?
isAtBottom() is called by 1 function(s): PreviousRunsTab.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free