Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keyboard navigation changing settings in App settings #2352

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Plastikmensch
Copy link

When using keyboard navigation onBlur and onChange on radio buttons caused settings to be changed.

This replaces both with onClick

@Plastikmensch Plastikmensch marked this pull request as ready for review August 1, 2023 14:57
@Plastikmensch Plastikmensch marked this pull request as draft August 1, 2023 15:25
@Plastikmensch
Copy link
Author

Plastikmensch commented Aug 1, 2023

Hmmh this worked and then stopped working when switching branches back and forth, but worked again on a restart.
Might've been a cache issue or the dev env didn't recompile/reload.
Marking as ready for review again.

@Plastikmensch Plastikmensch marked this pull request as ready for review August 1, 2023 15:31
When using keyboard navigation `onBlur` and `onChange` on radio buttons caused settings to be changed.

Uses `onClick` instead and replaces `onChange` with a noop to prevent react from complaining.

Signed-off-by: Plastikmensch <[email protected]>
@Plastikmensch Plastikmensch force-pushed the use-onClick-for-local-settings-radio-buttons branch from b51ae06 to dc2aa6a Compare November 5, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant