Releases: yairEO/tagify
Releases Β· yairEO/tagify
v4.35.1
v4.35.0
- 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 setdropdown.enabled = 0
ifdropdown.enabled
setting was not intentionally set tofalse/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
- fixes #1434 -
className
prop can be undefined which throws an error when calling "compareStrings" in theclassName
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 tofalse
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.33.1
- 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
- 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 istrue
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
withinonEditTagDone
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
- 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
- #1409 - fixed incorrect example code bc63229
- in normal mode, if there is a single tag and while the dropdown is open the tag's
x
button is clicked, then the component should be re-focused 9743bab - improved README
dropdown.includeSelectedTags
setting description b39985c - removed
e.preventDefault
fortab
keydown event a321d15 - typo fix 05e86a4
v4.32.0
- should set the
selectOption
on the global state every timesuggestionClick
is called (before it is called), which can be either by mouse click or key press 34e81db - fixes #1402
8416
- added
blur
event when a tag has focus (is editable) and then blured. apparently theonFocusBlur
does not catch this blur event for some reason. 3e90111 - fixes #1400 - tyrping text in the input element and pressing backspace key should not rmove everything that was typed f0747d1
- fixes #1401 - editing a tag and then selecting a suggestion (from the dropdown) results in an error 0e0e851
- fixes ##1403 - added missing
async
keywrod for a functioninitReac
which usesasync
internally f1bbd0c