Skip to content

Conversation

@apachezy
Copy link
Contributor

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

When the AutoSuggestBox property is null or its Visibility is set to Collapsed, the related UI elements (AutoSuggestBoxContentPresenter and PART_ToggleButton) still occupy layout space, resulting in unnecessary blank areas and visual misalignment.

When Visibility is set to Collapsed:

default.mp4

What is the new behavior?

Enhanced the template triggers to ensure that when AutoSuggestBox is invisible or non-existent, the related containers completely release their layout space. Adjacent elements above and below can now connect seamlessly, restoring proper layout alignment.

default.mp4

@apachezy apachezy requested a review from pomianowski as a code owner October 29, 2025 20:29
@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request navigation Changes to navigation related controls. release labels Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. navigation Changes to navigation related controls. PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants