Skip to content

Commit

Permalink
bugfix - in mix-mode, place the caret after a tag which was just edit…
Browse files Browse the repository at this point in the history
…ed, instead of before it
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Feb 16, 2022
1 parent 0f1ebbc commit 9d0787d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tagify.js
Expand Up @@ -551,6 +551,9 @@ Tagify.prototype = {

if( this.settings.a11y.focusableTags )
tagElm.focus()
else
// place caret after edited tag
this.placeCaretAfterNode(tagElm.previousSibling)
}

else if(tagElm)
Expand Down

0 comments on commit 9d0787d

Please sign in to comment.