diff --git a/src/dropdownV3.ts b/src/dropdownV3.ts index fdf68c7..95ba2d0 100644 --- a/src/dropdownV3.ts +++ b/src/dropdownV3.ts @@ -196,7 +196,7 @@ export class DropdownV3 { const li = $('
  • '); li.append( - $('').attr('href', '#!').html(itemHtml) + $('').attr('href', '#!').css({ 'overflow': 'hidden', 'text-overflow': 'ellipsis' }).html(itemHtml) ) .data('item', item); @@ -210,7 +210,7 @@ export class DropdownV3 { // No results const li = $('
  • '); li.append( - $('').attr('href', '#!').html(this.noResultsText) + $('').attr('href', '#!').css({ 'overflow': 'hidden', 'text-overflow': 'ellipsis' }).html(this.noResultsText) ) .addClass('disabled'); @@ -219,6 +219,7 @@ export class DropdownV3 { this._dd.append(liList); + this.show(); } protected itemSelectedLaunchEvent(item: any): void {