Skip to content

Flashing background when typing inside an inline text boundaries #12978

Closed

Description

@youknowriad

To Reproduce
Steps to reproduce the behavior:

  1. Create a post with the following content
<!-- wp:paragraph -->
<p>some <em>italic</em> text</p>
<!-- /wp:paragraph -->
  1. Put the caret inside the "italic" text
  2. Start typing
  3. Notice that the background of the inline boundaries is flashing

flash

Activity

  1. added
    [Type] BugAn existing feature does not function as intended
    [Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...
    on Dec 18, 2018
  2. added this to the WordPress 5.0.3 milestone on Dec 18, 2018
  3. Naerriel commented on Dec 19, 2018

    @Naerriel
    Contributor

    @youknowriad
    Unfortunately, I cannot reproduce this bug. Can you, please, tell me what is the block type you are experiencing the issue with?
    Can you include a gif?

  4. youknowriad commented on Dec 19, 2018

    @youknowriad
    ContributorAuthor

    In my testing I'm just using the regular paragraph block and typing in an italic text. Unfortunately, I can't record a screenshot as the flashing won't be noticeable in the recording. It's very quick. (The gray background behind the italic text is flashing)

  5. ellatrix commented on Jan 3, 2019

    @ellatrix
    Member

    I'm aware since a while of this issue, but didn't think it was a huge deal. The problem is the same as #11322: our rich text state is currently not away of the boundaries, so the attribute is remove, then reapplied by TinyMCE. Fixing #11322 would fix this, so I'm inclined to close this as a duplicate.

  6. youknowriad commented on Jan 3, 2019

    @youknowriad
    ContributorAuthor

    #11322 is a PR. Can we keep this issue to track the corresponding PR?

  7. ellatrix commented on Jan 3, 2019

    @ellatrix
    Member

    Sure!

  8. m commented on Jan 23, 2019

    @m
    Contributor

    Any progress here?

  9. ellatrix commented on Jan 23, 2019

    @ellatrix
    Member

    @m Working on it. I'll see if I can make any quick fix to avoid the flickering

  10. added and removed
    [Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...
    on Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Rich text/packages/rich-text[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions