Open atmgrifter00 opened 4 months ago
Ideally, as part of the work to re-align the Combobox
with the Select
we would also provide a test case that the linked AzDO bug above is representative of. This may be a bit tricky because it involves a re-loading of an Angular component that was hosting the Combobox
.
@atmgrifter00 we are trying to figure out how to prioritize this tech debt but I think it contains several issues that might have differing priorities. Could you take a pass at listing those and bucketing them into separate issues if we think we should fix them separately?
Brainstormed possible issues with Milan:
Here's some additional tech and/or architecture debt that might be covered by this.
Re-adding the triage tag to trigger a discussion about whether these should be separate issues and what their priority is. Hopefully we can prioritize at least some of it because we had multiple instances of select changes unexpectedly breaking client apps and needing to be reverted and we believe these issues contributed to that happening.
@atmgrifter00 and the team agreed that he'll work on these issues this cycle and come up with a recommendation of how to split up the work once he's done some initial research. This will be be prioritized after the first 1 or 2 SLE combobox -> select migrations.
🧹 Tech Debt
The initial attempt to align the
Combobox
implementation with theSelect
resulted in a bug in Angular, where the options would ultimately remain hidden upon a reload of the DOM after they had been filtered out. The cause of this seems rooted in the newregisterOption
implementation, but it's unclear at the moment exactly why this is resulting in the new behavior.Ultimately, as part of re-aligning the
Combobox
andSelect
implementations, theCombobox
should adjust its implementation to no longer manipulate thehidden
attribute directly while filtering, and instead leverage the now availablevisuallyHidden
attribute of theListOption
.