Skip to content

[59732] List is scrollable even if there is only 1 item#22814

Open
HDinger wants to merge 1 commit intodevfrom
bug/59732-list-is-scrollable-even-if-there-is-only-1-item
Open

[59732] List is scrollable even if there is only 1 item#22814
HDinger wants to merge 1 commit intodevfrom
bug/59732-list-is-scrollable-even-if-there-is-only-1-item

Conversation

@HDinger
Copy link
Copy Markdown
Contributor

@HDinger HDinger commented Apr 17, 2026

Ticket

https://community.openproject.org/wp/59732

What are you trying to accomplish?

  • Bump ngSelect to latest version
  • Avoid unnecessary scrollbars when the additional create option is displayed

What approach did you choose and why?

ngSelect had quite same changes in the meantime. The biggest change was making searchTerm private. Thus we were forced to use the filter method which directly opens the autocompleter. On the global search, that caused some issues as it initally opened the search on page load. That is why I did an ugly workaround and used the private searchTerm there.

@HDinger HDinger added this to the 17.4.x milestone Apr 17, 2026
} from 'core-app/features/work-packages/services/notifications/work-package-notification.service';
import { InjectField } from 'core-app/shared/helpers/angular/inject-field.decorator';
import { TOpAutocompleterResource } from 'core-app/shared/components/autocompleter/op-autocompleter/typings';
import { NgDropdownPanelComponent } from '@ng-select/ng-select';
Comment on lines +35 to +38
import {
NgDropdownPanelComponent,
NgSelectComponent,
} from '@ng-select/ng-select';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants