White space / line breaks in autocomplete dropdown

Created on 5 December 2024, 4 months ago

The change in 🐛 Missing spaces highlighted terms in select drop down Active seems to have introduced an issue with white space in the autocomplete dropdowns.

Removing line breaks from the template html solves the issue for me.

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇩🇪Germany berliner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @berliner
  • Pipeline finished with Success
    4 months ago
    Total: 325s
    #360192
  • Pipeline finished with Success
    4 months ago
    Total: 285s
    #360195
  • 🇵🇱Poland mahyarss

    Hi @berliner,

    Thank you for reporting this issue and for suggesting a solution.

    Before this issue was opened, I made changes to the CSS to address whitespace and line break problems. Specifically:

    I updated the white-space property in the dropdown from pre to normal to ensure proper handling of spaces.
    Additionally, I removed the following CSS rule:

    .active-tags__dropdown__item-highlighted {
      display: flex;
      flex-direction: row;
    }

    These changes have already been included in the latest development version: 1.0.x-dev (updated on 6 Dec 2024 at 23:03 UTC). Could you please test this version and let me know if the problem is resolved with these updates, or if further adjustments are needed?

    Your feedback is invaluable, and I greatly appreciate your contribution to improving the module.

    Best regards,
    Mahyar

  • 🇩🇪Germany berliner

    Yes, the dev branch looks good and I don't see this issue there anymore. Thanks!

  • 🇵🇱Poland mahyarss

    Thank you @berliner for confirming that the issue has been resolved in the development branch.

  • 🇵🇱Poland mahyarss

    The fix is now included in the newly released 1.0.1 version. Marking this issue as Closed (fixed). If you encounter any further issues, please feel free to report them.

    Your contributions are greatly appreciated!

Production build 0.71.5 2024