guan404ming commented on code in PR #51943:
URL: https://github.com/apache/airflow/pull/51943#discussion_r2160264998
##########
airflow-core/src/airflow/ui/src/pages/TaskInstance/Logs/TaskLogContent.tsx:
##########
@@ -104,6 +147,9 @@ export const TaskLogContent = ({ error, isLoading,
logError, parsedLogs, wrap }:
))}
</VStack>
</Code>
+
+ <ScrollToButton direction="top" onClick={() => handleScrollTo("top")} />
+ <ScrollToButton direction="bottom" onClick={() =>
handleScrollTo("bottom")} />
Review Comment:
Good idea, thanks. I think the `tanstack/virtual` we used here have some
built-in functions could be helpful. Let's add this in.
--
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]