Skip to content
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

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

JKMarkowski
Copy link
Contributor

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

Documentation checklist:

@@ -12,7 +12,6 @@
<fd-multi-input
formControlName="disabledSelectedValues"
[dropdownValues]="['Apple', 'Banana', 'Pineapple', 'Tomato']"
[disabled]="'true'"
Copy link
Contributor Author

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"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Duplicated [disabled]

@JKMarkowski JKMarkowski changed the title fix: Add popover new open shortcut, improve multi input keyboard support fix(core): Add popover new open shortcut, improve multi input keyboard support Nov 13, 2019
@netlify
Copy link

netlify bot commented Nov 13, 2019

Deploy preview for fundamental-ngx ready!

Built with commit e2540b4

https://deploy-preview-1583--fundamental-ngx.netlify.com

clickHandler(event) {
event.stopPropagation();
if (!this.elRef.nativeElement.contains(event.target)) {
this.isOpen = false;
Copy link
Contributor Author

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

@JKMarkowski JKMarkowski added this to In progress in Development via automation Nov 15, 2019
@JKMarkowski JKMarkowski added this to the sprint 24 - Maester Aemon milestone Nov 15, 2019
@JKMarkowski JKMarkowski changed the title fix(core): Add popover new open shortcut, improve multi input keyboard support fix: (core) Add popover new open shortcut, improve multi input keyboard support Nov 18, 2019
@JKMarkowski JKMarkowski changed the title fix: (core) Add popover new open shortcut, improve multi input keyboard support fix: (core) Add popover new open shortcut, improve multi input keyboard support, fix visual menu focus Nov 19, 2019
Development automation moved this from In progress to Reviewer approved Nov 19, 2019
@JKMarkowski JKMarkowski merged commit c573b76 into master Nov 21, 2019
Development automation moved this from Reviewer approved to Done Nov 21, 2019
@JKMarkowski JKMarkowski deleted the fix/#911-keyboard-support branch November 21, 2019 10:53
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.

Opening dropdown menu via keyboard
2 participants