Skip to content

Releases: yairEO/tagify

v4.35.4

28 Aug 09:47
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v4.33.0

21 Dec 19:20
Compare
Choose a tag to compare
  • fixes #1422 - in "select-mode" editing existing value does not re-filters the suggestions list fd2c208
  • accessibility bugfix: when Tagify gets focused (through tab), the component's input should be focused and if there is already a selected value, the caret should be places at the end 52c37a4
  • fixes #1420: when selecting a suggestion with the keyboard, keep the same highlighted suggestion if includeSelectedTags setting is true or else, highlight the next/prev suggestion - rehydrate suggestions list when selecting a suggestion with the mouse 5746d7a
  • #1420 - on select-mode, do not call dropdown.hide within onEditTagDone after a suggestion was selected ca64ac7
  • re-implemented #1425 in a better way 3e9819a
  • fixes #1428 - fixed the compatibility layer. I assume now Tagify only supports React v17 and above 108c6bc
  • slightly increased $tag-inset-shadow-size CSS variable 2d8abd2
  • Fix Tab key after click Tab key didn't work after you select a suggestion with mouse because the input lose focus cbb6864

v4.32.2...v4.33.0

v4.32.2

07 Dec 16:09
Compare
Choose a tag to compare
  • Enhance keyboard navigation for suggestions dropdown by adding support for PageUp, PageDown, Home, and End keys. This allows users to navigate through suggestions more efficiently without using the mouse. 719827b
  • bugfix: in select-mode, the x (remove tag) button should not be visible if the suggestions' dropdown is visible (open) 1cd4459
  • ran npx update-browserslist-db@latest 0ea0f30
  • fixes #1423 - Dropdowns does not close when interacting with tags of other instances d9d9ece
  • added an FAQ item 0e0ad46
  • this.state.dropdown.suggestions should point to the sorted list and not pre-sorted one 4acd7ae
  • call the custom sortby (if defined) also when there's no search query 643f79d
  • Fix scroll behavior 7c4ce8f

v4.32.1...v4.32.2