Skip to content

WEBDEV-8464 Make ia-dropdown-search-bar propagate selection changes immediately#46

Merged
latonv merged 4 commits into
mainfrom
webdev8464-resolved-category-state
May 19, 2026
Merged

WEBDEV-8464 Make ia-dropdown-search-bar propagate selection changes immediately#46
latonv merged 4 commits into
mainfrom
webdev8464-resolved-category-state

Conversation

@latonv

@latonv latonv commented May 19, 2026

Copy link
Copy Markdown
Member

Currently for <ia-dropdown-search-bar>, if one resets the selectedCategory property directly after a dropdown option is selected, the change does not propagate down to the inner ia-dropdown component via Lit's usual update cycle due to the property-binding diff seeing no change. This PR just propagates the new value immediately via willUpdate to ensure the same change is seen by every component in the tree.

@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-19 23:29 UTC

@codecov-commenter

codecov-commenter commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.75%. Comparing base (b27295e) to head (ec41ad8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   78.56%   78.75%   +0.19%     
==========================================
  Files          16       16              
  Lines         639      645       +6     
  Branches      165      168       +3     
==========================================
+ Hits          502      508       +6     
  Misses         95       95              
  Partials       42       42              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@latonv latonv changed the title WEBDEV-8464 Make ia-dropdown-search-bar's resolved category getter reactive state WEBDEV-8464 Make ia-dropdown-search-bar propagate selection changes immediately May 19, 2026

@rebecca-shoptaw rebecca-shoptaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice workaround, and helpful explanation!

@latonv latonv merged commit bb9c6de into main May 19, 2026
3 checks passed
@latonv latonv deleted the webdev8464-resolved-category-state branch May 19, 2026 23:28
jbuckner added a commit that referenced this pull request May 28, 2026
* origin/main: (28 commits)
  WEBDEV-8518: Add CI caching and standardize workflow hygiene (#55)
  WEBDEV-8464 Make ia-dropdown-search-bar propagate selection changes immediately (#46)
  WEBDEV-8447 Upgrade ia-dropdown version to address z-index bug (#45)
  v0.2.5 (#44)
  WEBDEV-8378 Migrate dropdown-style search bar from Offshoot (#41)
  0.2.3 (#43)
  WEBDEV-8393 Add full OTP form (#42)
  WEBDEV-8327 Add basic OTP input (#40)
  Update instructions for adding component stories (#38)
  Demo page enhancements
  WEBDEV-8131 Encapsulate property settings (#36)
  WEBDEV-8167: Add demo and publishing sections to readme (#35)
  0.2.2
  WEBDEV-8162: Support Lit 2/3, Combobox fixes (#34)
  0.2.1
  WEBDEV-8151: Improve build compatibility (#32)
  v0.2.0 (#31)
  WEBDEV-8119 Add basic combo-box component (#24)
  Update npm-publish workflow
  Update npm-publish action
  ...

# Conflicts:
#	demo/app-root.ts
#	demo/story-template.ts
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.

3 participants