Skip to content

Prevent scroll bleed in the inserter #656

@jasmussen

Description

@jasmussen

Scroll bleed is when you scroll to the end of a scrollable element and start scrolling the element below it. The inserter has it. We should look at how to best prevent this.

Here are a few ways to do it:

https://codepen.io/joen/pen/wGbBoe
https://codepen.io/joen/pen/wGLjWG
https://codepen.io/joen/pen/dMEyjr
https://codepen.io/joen/pen/Kzjgqy
https://codepen.io/joen/pen/wGONLB

Which ever we pick here, it's likely a function we'd want to be able to reuse, as this issue is likely to pop up in many areas.

Please see this comment for a much better approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] InserterThe main way to insert blocks using the + button in the editing interface[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions