Explorar el Código

scrool back to top on edit

FabioFratini hace 10 meses
padre
commit
032696efaa
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      resources/views/livewire/member.blade.php

+ 4 - 0
resources/views/livewire/member.blade.php

@@ -2151,6 +2151,10 @@
 
         function editData(id)
         {
+            window.scrollTo({
+                top: 0,
+                behavior: 'smooth'
+            });
             @this.edit(id);
         }