Skip to content

Delimiter-based tag detection UI updates are broken in mixed-mode; works fine if using Enter to complete.Β #1249

@atownley

Description

@atownley

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

πŸ’₯ Demo Page

https://jsbin.com/sikahusuha/edit?html,js,output
Also a jsfiddle here: https://jsfiddle.net/xw89qpar/

Explanation

  • What is the expected behavior?
  1. Enter a tag using the following: '#tag'

  2. the tag is displayed correctly in-line.

  3. Enter a tag using the following: '#mytag,'

  4. the "mytag" tag is displayed exactly as the first one.

  • What is happening instead?
    Enter a tag to be completed using the delimiters (I want basic punctuation to complete the tag in most cases), and if you enter the following, '#mytag,' the event is fired, and you get the tag created, but the UI doesn't update.

Here's a picture:
tagify-20231008-mix-mode-delimited-bug

I've looked through the code and I see where this happens, but I couldn't quickly find where the UI updates take place.

This doesn't seem like the expected behavior.

  • What error message are you getting?

No error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions