Pyasma commented on code in PR #64889:
URL: https://github.com/apache/airflow/pull/64889#discussion_r3064624098
##########
airflow/www/static/js/utils/useOffsetTop.ts:
##########
@@ -21,7 +21,7 @@ import { debounce } from "lodash";
import React, { useEffect, useState } from "react";
// For an html element, keep it within view height by calculating the top
offset and footer height
-const useOffsetTop = (contentRef: React.RefObject<HTMLElement>) => {
+const useOffsetTop = (contentRef: React.RefObject<HTMLElement | null>) => {
Review Comment:
sure i will also add the video to show the After and Before changes
--
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]