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

RichText: don't focus when updating store #17615

Closed
wants to merge 1 commit into from

Conversation

ellatrix
Copy link
Member

@ellatrix ellatrix commented Sep 26, 2019

Description

Fixes #17505. When updating the store, RichText shouldn't set any selection. This does NOT fix the popover issue. :) Only fixes the issue when updating the store directly.

Let's see if e2e tests pass.

How has this been tested?

See steps to reproduce in #17505.

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.

@ellatrix ellatrix added [Package] Rich text /packages/rich-text [Type] Bug An existing feature does not function as intended labels Sep 26, 2019
@ellatrix
Copy link
Member Author

Unsurprisingly, a lot of e2e test failures as we rely on setting focus a lot for merging and splitting.

@ellatrix ellatrix closed this Sep 26, 2019
@ellatrix ellatrix deleted the try/rich-text-no-focus-on-update branch September 26, 2019 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Rich text /packages/rich-text [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing a RichText value automatically focus the RichText
1 participant