@broberg/app-shell 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preact.js CHANGED
@@ -1463,7 +1463,7 @@ function ConfirmDialog(p) {
1463
1463
  }, []);
1464
1464
  const live = useRef(p);
1465
1465
  live.current = p;
1466
- useEffect(() => {
1466
+ useLayoutEffect(() => {
1467
1467
  if (!p.open) return;
1468
1468
  const before = document.activeElement;
1469
1469
  cancelBtn.current?.focus();