Fix scrolling in Table - Row view

Use absolute positioning pattern for proper scrolling behavior
when many columns are displayed.
This commit is contained in:
David Pivoňka
2025-12-08 15:23:59 +01:00
parent 38c25cae74
commit 142ebe3d27

View File

@@ -196,6 +196,7 @@
</script>
<div class="outer">
<div class="content">
{#if rowData}
<div class="search-wrapper" on:keydown={handleSearchKeyDown}>
<SearchBoxWrapper noMargin>
@@ -258,18 +259,28 @@
{/each}
{/if}
</div>
</div>
</div>
<style>
.outer {
flex: 1;
position: relative;
}
.content {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
}
.search-wrapper {
padding: 4px 4px 0 4px;
flex-shrink: 0;
}
.inner {