Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(theme): keep the default arrow over interactive elements' text

Josh Corbettb3bd82c215f7
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
index 276afe6844..2eb2fb5a32 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts
@@ -242,6 +242,16 @@ const config = defineConfig({
margin: 0,
overflow: 'hidden',
},
+ // Interactive elements keep the default arrow even over their text —
+ // without this, non-button rows (picker options, menu items) compute
+ // `auto` and show the I-beam. Recipes still override (e.g. not-allowed).
+ // Attribute values stay unquoted: serialized markup assertions (SamOptions)
+ // grep for the quoted forms. No `[role=combobox]` — zag puts that role on
+ // type-able inputs, which must keep the I-beam.
+ 'button, [role=button], [role=menuitem], [role=menuitemcheckbox], [role=menuitemradio], [role=option], [role=tab], [role=radio], [role=checkbox], [role=switch]':
+ {
+ cursor: 'default',
+ },
// While a gallery-item drag is in flight (body flag set by
// GalleryDragCursor) the closed-hand cursor applies everywhere: without
// the descendant rule, every element that sets its own cursor (buttons,