Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In #3308320: Allow set up minimal search string length, an option was introduced to set the minimum search string length to 0, causing a list with all options to appear when focusing the field. This seems to be quite buggy at times: the dropdown with results sometimes doesn't disappear when minimum search length is 0. Additionally, it seems like sometimes entered values are lost after submitting the form. This might be related, but I'm not sure.
Steps to reproduce
- Focus a Tagify widget with minimum search string length set to 0
- Unfocus the field without selecting a value from the dropdown
- The dropdown disappears and immediately appears again. There's no way to make it disappear, unless you select an option.
Comment | File | Size | Author |
---|---|---|---|
#8 | Screencast 2023-04-29 11:54:30.mp4 | 512.56 KB | gxleano |
#7 | CleanShot 2023-04-29 at 09.43.48.mp4 | 4.1 MB | DieterHolvoet |
Issue fork tagify-3346104
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
gxleano CreditAttribution: gxleano at Factorial GmbH commentedComment #5
gxleano CreditAttribution: gxleano at Factorial GmbH commentedComment #6
gxleano CreditAttribution: gxleano at Factorial GmbH commentedComment #7
DieterHolvoet CreditAttribution: DieterHolvoet as a volunteer commentedUnfortunately that doesn't fix it. Here's a video demonstrating the problem: https://www.drupal.org/files/issues/2023-04-29/CleanShot%202023-04-29%20...
Comment #8
gxleano CreditAttribution: gxleano at Factorial GmbH commented@DieterHolvoet I wasn't be able to reproduce the buggy behavior.
I have been testing in a clean installation of Drupal 9 and 10, and I can't reproduce the bug.
Could you provide more info about your setup?
- Which version of Drupal are you using?
- Are you combining the module with something else (Custom theme, contrib module)?
Comment #9
gxleano CreditAttribution: gxleano at Factorial GmbH commentedComment #10
gxleano CreditAttribution: gxleano at Factorial GmbH commentedClosing this issue, it natively works as expected and we have no further information about the problem.
Comment #11
gxleano CreditAttribution: gxleano at Factorial GmbH commentedComment #12
DieterHolvoet CreditAttribution: DieterHolvoet as a volunteer commentedFor what it's worth, I just tested this again with the latest version and can't reproduce it anymore. Better later than never :) Thanks for the effort and happy new year!