-
Notifications
You must be signed in to change notification settings - Fork 11
feat: Adding hover behaviour on select components #732
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #732 +/- ##
=======================================
Coverage 85.20% 85.20%
=======================================
Files 786 786
Lines 16096 16097 +1
Branches 2003 2003
=======================================
+ Hits 13714 13715 +1
Misses 2349 2349
Partials 33 33
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@itssharmasandeep Could you also add screenshots/screen recording of the behaviour? |
| *ngSwitchCase="'${SelectTriggerDisplayMode.Icon}'" | ||
| class="trigger-content icon-only" | ||
| [ngClass]="this.selected !== undefined ? 'selected' : ''" | ||
| [ngClass]="[this.selected !== undefined ? 'selected' : '', this.popoverOpen ? 'open' : '']" |
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.
may be we should make this an object for better readability
"{ selected: this.selected !== undefined, open: this.popoverOpen}"
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.
done
| align-items: center; | ||
|
|
||
| &.open { | ||
| background-color: transparent; |
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.
Is this doing anything or is it overridden by line 124 (indentation may be throwing me off here)
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.
done
Description
This PR adds hover and pressed behaviour on select, multi-select and menu-dropdown buttons
Testing
Tested locally
Screenshot for multi-select pressed

Checklist: