Browse Source

fix: Fixed table add new row sticky issue

pull/6729/head
Muhammed Mustafa 1 year ago
parent
commit
9fad294268
  1. 11
      packages/nc-gui/components/smartsheet/grid/Table.vue

11
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1554,19 +1554,18 @@ const loaderText = computed(() => {
@mouseup.stop @mouseup.stop
@click="addEmptyRow()" @click="addEmptyRow()"
> >
<td class="text-left pointer sticky left-0 !border-r-0"></td>
<td class="!border-gray-100" :colspan="visibleColLength"></td>
</tr>
</tbody>
<div <div
class="max-h-0 absolute left-0 bottom-0 px-2 sticky z-40 w-full flex items-center text-gray-500 pointer-events-none" class="h-10.5 border-b-1 border-gray-100 bg-white group-hover:bg-gray-50 absolute left-0 bottom-0 px-2 sticky z-40 w-full flex items-center text-gray-500"
> >
<component <component
:is="iconMap.plus" :is="iconMap.plus"
v-if="!isViewColumnsLoading" v-if="!isViewColumnsLoading"
class="text-pint-500 text-base ml-2 -mt-10 text-gray-600 group-hover:text-black" class="text-pint-500 text-base ml-2 mt-0 text-gray-600 group-hover:text-black"
/> />
</div> </div>
<td class="!border-gray-100" :colspan="visibleColLength"></td>
</tr>
</tbody>
</table> </table>
<!-- Fill Handle --> <!-- Fill Handle -->

Loading…
Cancel
Save