Skip to content

Fix UI/UX bug with dropdown. Select child and automatically expand.#1333

Merged
mauteri merged 1 commit intodevelopfrom
version-0.33.0-rc.1
Jan 6, 2026
Merged

Fix UI/UX bug with dropdown. Select child and automatically expand.#1333
mauteri merged 1 commit intodevelopfrom
version-0.33.0-rc.1

Conversation

@mauteri
Copy link
Copy Markdown
Contributor

@mauteri mauteri commented Jan 5, 2026

Description of the Change

When selecting a child of a dropdown from list view, automatically expand the dropdown.

Closes #

How to test the Change

Changelog Entry

Fixed - Bug fix

Credits

Props @patriciabt @mauteri

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Jan 6, 2026

PR Summary

  • Improved User-Interface with Automatic Dropdown Expansion
    A new feature has been added that automatically expands the dropdown menu when a user selects any sub-category (termed as 'child block') from the List View. This enhancement in our user-interface aims to make navigation simpler and more user-friendly.

  • Tracking User Selections with a New Variable
    A new variable named selectedBlockId is introduced. This variable keeps track of the current block ID that the user has selected. This addition in the system improves our ability to monitor user interactions and behavior on the platform.

  • Updated System Behavior for Dropdown Menu
    The system behavior for how and when the dropdown menu closes or expands has been updated. This modification aims to offer better user experiences by making the menu more intuitive and responsive based on the user's block selection. This change was achieved by modifying a piece of our underlying logic, referred to as the useEffect hook.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 6, 2026

Preview changes with Playground

You can preview the recent changes for PR#1333 with the following PHP versions:

PHP Version 8.4

PHP Version 8.2

PHP Version 7.4

Download .zip with build changes

Made with 💙 from GatherPress & a little bit of WordPress Playground. Changes will not persist between sessions.

@mauteri mauteri marked this pull request as ready for review January 6, 2026 00:04
@mauteri mauteri merged commit fe72750 into develop Jan 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant