You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DS Team is planning to implement a feature to make buttons focusable in the disabled state. The addFocusShortcut method from Flow allows setting a shortcut to focus a button, but currently, it doesn't work when the button is disabled. To support this functionality, we would need an API to keep the shortcut active even when the owner component is in the disabled state.
Describe the solution you'd like
Introduce a setDisabledUpdateMode method in ShortcutRegistration to allow configuring the behavior for specific shortcuts, such as the focus shortcut, when the owner component is disabled.
The text was updated successfully, but these errors were encountered:
vursen
changed the title
Add API to allow setting DisabledUpdateMode for ShortcutRegistration
API to set DisabledUpdateMode for ShortcutRegistration
Jan 8, 2025
vursen
changed the title
API to set DisabledUpdateMode for ShortcutRegistration
API for setting DisabledUpdateMode for ShortcutRegistration
Jan 8, 2025
Describe your motivation
The DS Team is planning to implement a feature to make buttons focusable in the disabled state. The
addFocusShortcut
method from Flow allows setting a shortcut to focus a button, but currently, it doesn't work when the button is disabled. To support this functionality, we would need an API to keep the shortcut active even when the owner component is in the disabled state.Describe the solution you'd like
Introduce a
setDisabledUpdateMode
method inShortcutRegistration
to allow configuring the behavior for specific shortcuts, such as the focus shortcut, when the owner component is disabled.The text was updated successfully, but these errors were encountered: