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

List View: Always make the selected block visibile by scrolling the view automatically #46828

Closed
zdenys opened this issue Dec 30, 2022 · 4 comments · Fixed by #46895
Closed
Assignees
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@zdenys
Copy link

zdenys commented Dec 30, 2022

What problem does this address?

When a page/post has a high number of blocks they all don't fit in one view in the List View. In that case, there is a vertical scroll bar in List View. With List View open, if you select a block somewhere towards the bottom in the Editor, it will be selected in the List View, but it won't be visible as the List View doesn't scroll automatically to make it visible.

List.View.doesn.t.scroll.automatically.to.show.the.selected.block.mov

What is your proposed solution?

When the List View is open, it would be helpful to always see the selected block by ensuring that the view scrolls automatically. This is especially impactful for pages/posts with a high number of blocks.

@t-hamano t-hamano added [Type] Enhancement A suggestion for improvement. [Feature] List View Menu item in the top toolbar to select blocks from a list of links. labels Dec 31, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 5, 2023
@ntsekouras
Copy link
Contributor

I think this was the behavior in the past and it was removed for UX reasons 🤔 . Not 100% sure though... --cc @jasmussen

@jasmussen
Copy link
Contributor

I actually don't recall this. No strong feelings on my end.

@andrewserong
Copy link
Contributor

Oh, interesting... I was pretty sure it hadn't been implemented before, but at the very least there's been a prior open issue since April 2021 for it in #30432.

I have a PR that looks to implement it over in #46895 if anyone gets a chance to take it for a spin 🙂

@Mamaduka
Copy link
Member

Mamaduka commented Feb 9, 2023

Let's close this as a duplicate of #30432.

@Mamaduka Mamaduka closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
@Mamaduka Mamaduka added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed and removed [Status] In Progress Tracking issues with work in progress labels Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants