-
Notifications
You must be signed in to change notification settings - Fork 125
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: (core) Add popover new open shortcut, improve multi input keyboard support, fix visual menu focus #1583
Conversation
@@ -12,7 +12,6 @@ | |||
<fd-multi-input | |||
formControlName="disabledSelectedValues" | |||
[dropdownValues]="['Apple', 'Banana', 'Pineapple', 'Tomato']" | |||
[disabled]="'true'" |
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.
Disabled state is added in typescript file. It caused some console warnings.
@@ -9,7 +9,6 @@ | |||
[attr.aria-expanded]="this.disabled ? false : isOpen" | |||
[attr.aria-disabled]="this.disabled" | |||
aria-haspopup="true" | |||
[disabled]="disabled" |
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.
Duplicated [disabled]
d578f54
to
b4d856a
Compare
Deploy preview for fundamental-ngx ready! Built with commit e2540b4 |
b4d856a
to
0d93b7d
Compare
0d93b7d
to
e2540b4
Compare
clickHandler(event) { | ||
event.stopPropagation(); | ||
if (!this.elRef.nativeElement.contains(event.target)) { | ||
this.isOpen = false; |
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.
Popover provides this functionality, it's not needed anymore
Please provide a link to the associated issue.
fixes: #911
Please provide a brief summary of this pull request.
I added
alt + ArrowDown
support for popovers components. Also I improved a little multi input keyboard support, Now it's possible to navigate by arrows. There was some leftover after fundamental-styles 0.2.0 adapation, which is remvoed.Please check whether the PR fulfills the following requirements
https://github.com/SAP/fundamental-ngx/blob/master/CONTRIBUTING.md
Documentation checklist:
README.md