Skip to content

Commit

Permalink
Fix keyboard navigation changing settings in App settings
Browse files Browse the repository at this point in the history
When using keyboard navigation `onBlur` and `onChange` on radio buttons caused settings to be changed.

This replaces both with `onClick`

Signed-off-by: Plastikmensch <[email protected]>
  • Loading branch information
Plastikmensch committed Aug 1, 2023
1 parent 3b49b5a commit b51ae06
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export default class LocalSettingsPageItem extends PureComponent {
name={id}
id={optionId}
value={opt.value}
onBlur={handleChange}
onChange={handleChange}
onClick={handleChange}
checked={currentValue === opt.value}
disabled={!enabled}
{...inputProps}
Expand Down

0 comments on commit b51ae06

Please sign in to comment.