Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Dsys 4 dsys 5 fix input events #287

Merged
merged 6 commits into from
Jul 5, 2023
Merged

Conversation

nathanbrud
Copy link
Collaborator

@nathanbrud nathanbrud commented Jul 4, 2023

What this PR does

Change / end events can be sent from 2 flows: handle move or input change.
This fixed an issue where changing the input would send an event without target (and without value) in single handle mode.

Screenshots & Recordings

Screen.Recording.2023-07-04.at.9.03.28.mov

How it does that

Check for what is focused, if it's input or handle and have a fallback for startHandle if something is missing.

Testing

Added unit tests for this specific flow to make sure we always get a target.

@nathanbrud nathanbrud force-pushed the DSYS-4-DSYS-5-fix-input-events branch from 96625c2 to a150487 Compare July 4, 2023 06:06
@nathanbrud nathanbrud marked this pull request as ready for review July 4, 2023 06:07
@nathanbrud nathanbrud requested review from a team as code owners July 4, 2023 06:07
@nathanbrud
Copy link
Collaborator Author

@juliewongbandue Hi Julie can u please take a look? Thanks!

@nathanbrud nathanbrud merged commit d48bfe3 into main Jul 5, 2023
@nathanbrud nathanbrud deleted the DSYS-4-DSYS-5-fix-input-events branch July 5, 2023 18:33
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants