Skip to content

Releases: yairEO/tagify

v4.35.6

15 Nov 16:37

Choose a tag to compare

  • fixes #1480 - Tab key does not change focus when there is nothing to add 43545b0
  • fixes #1478 - should not fire "remove" event on initialization c0516e4
  • Refactor injectAtCaret and appendMixTags methods da01636
  • Remove debug log from events.js 2af8763

v4.35.5...v4.35.6

v4.35.5

02 Nov 07:22

Choose a tag to compare

  • fixes #1476 - added "min-height" for the input element, which is relative to the (inherited) line-height. 05a8920
  • fixes #1475 - Pressing Tab enters tag correctly but tagify input loses focus 224be27

v4.35.4...v4.35.5

v4.35.4

28 Aug 09:47

Choose a tag to compare

  • fixes #1480 - prevent new line creation when a tag is added in the events handler b0e38e1
  • fixes #1469 - "add" event not fired in mix-mode 8a9d01c
  • fixes #1470 - removed wrongly documented function which does not exists 661b768

v4.35.3...v4.35.4

v4.35.3

21 Jul 17:07

Choose a tag to compare

  • fixes #1465 - originalInputValueObserverInterval reading should be safer using this.listeners?.main?.originalInputValueObserverInterval 6d95cd3
  • fixes #1466 - injectAtCaret should be protected against injections outside the current tagify instance abc647e

v4.35.2...v4.35.3

v4.35.2

12 Jul 13:13

Choose a tag to compare

  • fixes #1458 - fix press enter to break line before a tag in mixed mode 4a0fb41
  • minor improv 9a661c7
  • fixes #1454 - setting readonly to false (when initially was true) does not re-bind events 213853d
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified dadc927
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified 80c0cd7
  • refactor: update update method to accept a callback and added a call to tgigger the 'remove' event when removeAllTags is called ccb350f
  • moved UPDATE_DELAY to the constants file and trigger 'remove' event in removeAllTags db48a47

v4.35.1...v4.35.2

v4.35.1

08 May 10:26

Choose a tag to compare

  • Fix "TypeError: Cannot destructure property 'added' of 'compareStrings(...)' as it is undefined." bug eef4bac

v4.35.0...v4.35.1

v4.35.0

23 Apr 13:42

Choose a tag to compare

  • refactor: simplify isNodeTag function for improved readability 5f1c50d
  • fixed readonly & disabled so it is now impossible to interact with the Tagify component when these states are set. It was previously possible to edit things when tabbing "into" them 704b3b7
  • refactor: remove unnecessary data-can-editable attribute from tag template 1290dee
  • undid last change. the user should control this from the outside. fbd51e6
  • fix: if userInput is false, only set dropdown.enabled = 0 if dropdown.enabled setting was not intentionally set to false/null/undefined, which indicates the user does not want to show it no matter what 4fb2331
  • refactor: update contenteditable attributes to use data-can-editable so "setContentEditable" method could work properly regardless of the contenteditable attribute existance ced5432
  • disabled tagify with a placeholder should still show the placeholder text, but only if there are no tags c69ec4d

v4.34.0...v4.35.0

v4.34.0

09 Apr 17:17

Choose a tag to compare

  • fixes #1434 - className prop can be undefined which throws an error when calling "compareStrings" in the className useEffect 281946e
  • fixes #1443 - readonly select-mode is focusable and editable by being focused-into using "tab" 7bdc781
  • fixes #1444 - if the tagify field has a fixed width with an overflow and it is set not to wrap the tags, (then the new) focusInputOnRemove setting should be set to false 0716ed8
  • fixes #1261 - tags do not align as expected when the tagify container with height set to it 8b3a30b
  • fixes #1261 - tags do not align as expected when the tagify container with height set to it 6930e19
  • fixes #1383 - if tagify container has padding, the dropdown is opened and closed immediately f060eae

v4.33.2...v4.34.0

v4.33.2

26 Jan 10:55

Choose a tag to compare

  • fixes #1435 - added /src/tagify.scss file to the "exports" property in package.json file 311dc0e

v4.33.1...v4.33.2

v4.33.1

10 Jan 18:58

Choose a tag to compare

  • fixes #1421 - suggestions dropdown overflows outside the right side of the viewport if positionTo == 'text' is set and the typed text is at the right edge of the viewport a57b4c0
  • fix: remove unreachable return statement in events.js to streamline tag input handling f102c7b
  • fix: improve optional chaining for closest method in isNodeBelongsToThisTagifyInstance function 7f9120c
  • bugfix: when in mix-mode and tyrping a tag, and suggestions show only one item (the thing being typed) it wasn't able to be added using ENTER key 2f936f4
  • #1429 - pasting doesn't work in select mode and does not fire a "paste" event 29f0120
  • fixes #1431 - if multiple instances of (Select) Tagify exists, tabbing is impossible as the first instance is trapping the focus 73df18a
  • fixes #1432 - "Tag element does not exist" 4c0bd8e

v4.33.0...v4.33.1