Repository navigation
Conversation
|
Related: #5658 (comment) Specifically also the latter note here:
This is also why the gutenberg/test/e2e/specs/adding-blocks.test.js Lines 13 to 34 in 473ef22 |
|
@youknowriad, what was the reason why we moved |
|
@gziolo It was moved their to be shown properly for floated blocks (relative to the block's position) |
|
I'm not inclined to add even more nested nodes to what already exists for a block, but one option is to apply the floating styles as a separate wrapper element which is not susceptible to the block's (There are some particular intricacies of this with wrapper |
|
There was also the idea of using the nested block's concept of |
|
It's no longer an issue. There was a change introduced which completely refines the way this inserter works. You can click only on the plus icon. Closing this PR. |
Description
When testing other PRs I noticed a very subtle bug where Block Toolbar blinks after you click on the in-between line inserter. This happens when you reach a very specific area close to the top and bottom edges. See screenshots.
This PR fixes this issue by preventing propagation of
focusevent to theBlockContextualToolbar. I'm not convinced this is the best solution in the long run, so happy to update if you have a better idea how to fix it.How has this been tested?
Manually
Screenshots
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: