fix: focus first element inside modal
This commit is contained in:
parent
dd140db13f
commit
08df1d9d44
|
@ -381,6 +381,8 @@ onMounted(() => {
|
|||
{ immediate: true }
|
||||
);
|
||||
|
||||
content.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')?.focus();
|
||||
|
||||
nextTick(() => {
|
||||
new ResizeObserver((entries, observer) => {
|
||||
align();
|
||||
|
|
Loading…
Reference in New Issue