Skip to content

Fix : Disable sidebar animation for List View#69701

Closed
Vrishabhsk wants to merge 1 commit intoWordPress:trunkfrom
Vrishabhsk:fix/open-list-view
Closed

Fix : Disable sidebar animation for List View#69701
Vrishabhsk wants to merge 1 commit intoWordPress:trunkfrom
Vrishabhsk:fix/open-list-view

Conversation

@Vrishabhsk
Copy link
Copy Markdown
Contributor

What?

Why?

How?

  • Create a state variable to track initial render and another for tracking if the sidebar has been resized
  • Extract Always open List View preference to toggle this feature.
  • Prevent animation for the NavigableRegion component when preference is enabled, its an initial render and the sidebar hasn't been resized.

Screenshots or screencast

Previous Implementation New Implementation
https://github.com/user-attachments/assets/2101c804-e3b0-4a4c-bb19-ad24132b17f9 https://github.com/user-attachments/assets/60acc922-2584-48e6-8fc0-86fd4c01bfe4

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: Vrishabhsk <vrishabhsk@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended Needs Design Feedback Needs general design feedback. [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Package] Interface /packages/interface labels Mar 25, 2025
@Vrishabhsk Vrishabhsk closed this Jan 28, 2026
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. Needs Design Feedback Needs general design feedback. [Package] Interface /packages/interface [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Always open List View: disable sidebar animation when preference is enabled

2 participants