-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(combobox): remove underline when no focus #1661
fix(combobox): remove underline when no focus #1661
Conversation
Thank you, 🤖 Clarity Release Bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First, this bug has nothing to with being nested in an accordion. It happens when the combobox has no form control set (no ngModel
, formControl
, or formControlName
). Please update the PR title/description accordingly.
Second, there are extraneous conditional property access operators in this change. The fix should be restricted to only the necessary checks.
Last, there is no need to move the this.focused = true;
line. It works fine at the end of the onBlur
method.
See this commit for a working fix with minimal changes: b9a0abb. Please remove the extra unnecessary changes to isolate this bug fix commit to only what's needed to fix the bug.
Please update the PR title/summary before merging. |
|
My problem is the commit message not accurately describing the bug. The bug happened when there was no control, not when nesting as you did say in the commit message.
I'm not sure why you split the null reference checks for the same bug into two separate PRs, but it's too late now. |
🎉 This PR is included in version 17.6.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Sometimes when nested
combobox
focus presists after focus move to other element.Issue Number: CDE-2531
What is the new behavior?
Nested
combobox
focus is removed after focus move to other element.Does this PR introduce a breaking change?
Other information