noph-ui 0.8.12 → 0.8.13

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.
@@ -107,11 +107,9 @@
107
107
  onclick={(event) => {
108
108
  event.preventDefault()
109
109
  menuElement?.showPopover()
110
- menuElement?.focus()
111
110
  }}
112
111
  onkeydown={(event) => {
113
112
  if (event.key === 'Tab') {
114
- event.preventDefault()
115
113
  menuElement?.hidePopover()
116
114
  } else {
117
115
  event.preventDefault()
@@ -232,6 +230,9 @@
232
230
  menuElement?.hidePopover()
233
231
  event.preventDefault()
234
232
  }
233
+ if (event.key === 'Tab') {
234
+ menuElement?.hidePopover()
235
+ }
235
236
  }}
236
237
  variant="button"
237
238
  selected={value === option.value}>{option.label}</Item
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.8.12",
3
+ "version": "0.8.13",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {