Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit328a1e6

Browse files
Annnoedcarroll
authored andcommitted
fix(dropdown): Dropdown menu isOpen of undefined (#380)
1 parent404908e commit328a1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/modules/dropdown/directives/dropdown-menu.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class SuiDropdownMenu extends SuiTransition implements AfterContentInit,
171171

172172
publiconParentKeyDown(e:KeyboardEvent):void{
173173
// Only the root dropdown (i.e. not nested dropdowns) is responsible for keeping track of the currently selected item.
174-
if(this._service.isOpen&&!this._service.isNested){
174+
if(this._service&&this._service.isOpen&&!this._service.isNested){
175175
// Stop document events like scrolling while open.
176176
consttarget=e.targetasElement;
177177
if(!/input/i.test(target.tagName)&&

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp