Skip to content

Autocomplete problems after Bootstrap 5 upgrade #1301

@osma

Description

@osma

At which URL did you encounter the problem?

https://dev.finto.fi/yso/en/

What steps will reproduce the problem?

  1. Search for e.g. "cat" in YSO and wait for the autocomplete popup

What is the expected output? What do you see instead?

This is how it works in finto.fi, running Skosmos 2.14:

kuva

Here is how it looks with current master branch (dev.finto.fi):

kuva

There are at least three problems:

  1. The entered string "cat" is shown with the wrong color. Minor CSS issue, probably in the Finto CSS file.
  2. Matches on altLabels (e.g. "Catalan people") don't show the prefLabel of the matched concept ("Catalans").
  3. The concept type information is missing.

This most likely broke with the Bootstrap 5 upgrade (PR #1182), which included an upgrade of the Typeahead.js widget.
Ping @kinow

What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)

Firefox

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions