@opencode-ai/ui 0.0.0-dev-202607170753 → 0.0.0-dev-202607170919

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-202607170753",
3
+ "version": "0.0.0-dev-202607170919",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -101,7 +101,7 @@ export function Dialog(props: DialogProps) {
101
101
  const autofocusEl = target?.querySelector("[autofocus]") as HTMLElement | null
102
102
  if (autofocusEl) {
103
103
  e.preventDefault()
104
- autofocusEl.focus()
104
+ autofocusEl.focus({ preventScroll: true })
105
105
  }
106
106
  }}
107
107
  >