mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix ingress list line heights (#5949)
* Split ingress rules by multiple lines Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Force updating virtual list when rowHeights changed Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Replacing simple div selectors with more specific .ingressRule classnames Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
07568839f6
commit
3d62d1c029
3 files changed
+16
-7
No files matched your search
@@ -87,7 +87,7 @@ function VirtualListInner<T extends { getId(): string } | string>({
|
||||
useEffect(() => {
|
||||
try {
|
||||
if (prevItems.current.length !== items.length || !isEqual(prevRowHeights.current, rowHeights)) {
|
||||
listRef.current?.resetAfterIndex(0, false);
|
||||
listRef.current?.resetAfterIndex(0);
|
||||
}
|
||||
} finally {
|
||||
prevItems.current = items;
|
||||
|
||||
Reference in new issue
Block a user