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

Dropcap paragraph as last block causes twitchy focus behaviour #12176

Closed
johngodley opened this issue Nov 21, 2018 · 2 comments
Closed

Dropcap paragraph as last block causes twitchy focus behaviour #12176

johngodley opened this issue Nov 21, 2018 · 2 comments
Labels
[Block] Paragraph Affects the Paragraph Block

Comments

@johngodley
Copy link
Contributor

A paragraph block with dropcap only shows the dropcap when the block is not being edited. If the block is the last on the page and you try and click out of the block to the area beneath, the focus is removed causing the block to show the dropcap. However, focus is then returned to the block and the dropcap is removed. This makes it very twitchy. Here I'm clicking in the space below the block:

dropcaps

Copied from #12172

To Reproduce
Steps to reproduce the behavior:

  1. Create a post with a single paragraph block
  2. Enable dropcaps from block options
  3. Try and click out of the block to the area beneath. Note how the focus is removed, the dropcap is shown, and then focus is returned and the dropcap removed.

Expected behavior
Not entirely sure. I understand the dropcap is not shown while editing for various reasons, and I think the focus is given to the last block as part of the standard editor. This problem may exist for other blocks where the edit and view states are so different.

@johngodley johngodley added the [Block] Paragraph Affects the Paragraph Block label Nov 21, 2018
@ItsJonQ
Copy link

ItsJonQ commented Jan 23, 2020

Screen Capture on 2020-01-23 at 09-36-44

@johngodley Thanks for reporting this. I just noticed this as well. It looks like the issue is still there.

@carolinan
Copy link
Contributor

I am not able to reproduce this issue, I will close it as fixed. Please comment and ask for it to be reopened if you encounter the problem again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paragraph Affects the Paragraph Block
Projects
None yet
Development

No branches or pull requests

3 participants