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

[core] fix(InputGroup): better support for async controlled updates #4323

Merged
merged 13 commits into from
Oct 15, 2020

Conversation

adidahiya
Copy link
Contributor

@adidahiya adidahiya commented Sep 9, 2020

Fixes #4298

Checklist

  • Includes tests

Changes proposed in this pull request:

Refactor <AsyncControllableInput>, using a different approach (only very tangentially adapted from facebook/react#14904 (comment)) which avoids the issue of the cursor jumping to the end of the input.

Reviewers should focus on:

Should fix the linked issue and not cause a regression for issue described in #4262

Screenshot (latest, from fdfdffb)

Oct-15-2020 14-05-23

Screenshot (outdated, from the version at 3716788)

2020-09-09 12 02 45

Seems to fix #4320 as well:

2020-09-09 12 11 54

@blueprint-bot
Copy link

[core] fix(InputGroup): better support for async controlled updates

Previews: documentation | landing | table

@blueprint-bot
Copy link

better fix

Previews: documentation | landing | table

@blueprint-bot
Copy link

update inputgroup example to test the bug

Previews: documentation | landing | table

@blueprint-bot
Copy link

fix state change when setting pendingUpdate: true

Previews: documentation | landing | table

@blueprint-bot
Copy link

update DRI tests to be less tightly coupled with InputGroup impl

Previews: documentation | landing | table

@blueprint-bot
Copy link

mention async updates in docs

Previews: documentation | landing | table

@adidahiya adidahiya merged commit 2981d80 into develop Oct 15, 2020
@adidahiya adidahiya deleted the ad/fix-async-controllable-input branch October 15, 2020 18:08
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.

NumericInput regression prevents typing decimal places Version 3.31.0 breaks InputGroup with redux form
2 participants