@3mo/dialog
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -342,3 +342,3 @@ import { __decorate } from "tslib"; | ||
if (this.open === true) { | ||
await new Promise(resolve => setTimeout(resolve)); | ||
await new Promise(r => requestAnimationFrame(r)); | ||
this.querySelector('[autofocus]')?.focus(); | ||
@@ -345,0 +345,0 @@ } |
{ | ||
"name": "@3mo/dialog", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A dialog component based on Material Web Components.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
127648