Logs Panel: panel options only tabbable after going through every log line (#103645)

fix: options only tabbable after going through every log line
This commit is contained in:
Galen Kistler
2025-04-09 10:47:50 +02:00
committed by GitHub
parent babe188e31
commit 0fd6144969
2 changed files with 4 additions and 2 deletions
@@ -105,6 +105,7 @@ const LogRowsComponent = ({ loading, loadMoreLogs, deduplicatedRows = [], range,
return (
<div className={styles.logRowsContainer}>
<LogListControls eventBus={eventBus} />
<div
ref={scrollElementRef}
className={config.featureToggles.logsInfiniteScrolling ? styles.scrollableLogRows : styles.logRows}
@@ -133,7 +134,6 @@ const LogRowsComponent = ({ loading, loadMoreLogs, deduplicatedRows = [], range,
/>
</InfiniteScroll>
</div>
<LogListControls eventBus={eventBus} />
</div>
);
};
@@ -159,5 +159,6 @@ const styles = {
}),
logRowsContainer: css({
display: 'flex',
flexDirection: 'row-reverse',
}),
};
@@ -34,6 +34,7 @@ export const ControlledLogsTable = ({
return (
<div className={styles.logRowsContainer}>
<LogListControls eventBus={eventBus} visualisationType={visualisationType} />
<div className={styles.logRows} data-testid="logRowsTable">
{/* Width should be full width minus logs navigation and padding */}
<LogsTableWrap
@@ -51,7 +52,6 @@ export const ControlledLogsTable = ({
datasourceType={datasourceType}
/>
</div>
<LogListControls eventBus={eventBus} visualisationType={visualisationType} />
</div>
);
};
@@ -64,6 +64,7 @@ const getStyles = (theme: GrafanaTheme2) => {
}),
logRowsContainer: css({
display: 'flex',
flexDirection: 'row-reverse',
}),
};
};