From de7241e6fd69b82850d250c3489f4d3b69a6cce6 Mon Sep 17 00:00:00 2001 From: Dustin Ewers Date: Sun, 20 Aug 2017 00:12:28 -0500 Subject: [PATCH] Bug fix for #3657 - Spaces are no longer blocked when the dropdown is open. --- src/app/components/dropdown/dropdown.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 7e7f52c6c02..788bc6cbe65 100644 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -468,9 +468,11 @@ export class Dropdown implements OnInit,AfterViewInit,AfterContentInit,AfterView //space case 32: - this.show(); - - event.preventDefault(); + case 32: + if(!this.panelVisible){ + this.show(); + event.preventDefault(); + } break; //enter