Skip to content

fix: add navigation behaviour to TagsInput [MDS-1711]#300

Merged
robb91-dev merged 8 commits intomainfrom
MDS-1711
Apr 1, 2025
Merged

fix: add navigation behaviour to TagsInput [MDS-1711]#300
robb91-dev merged 8 commits intomainfrom
MDS-1711

Conversation

@robb91-dev
Copy link
Copy Markdown
Contributor

@robb91-dev robb91-dev commented Mar 31, 2025

fix: add navigation behaviour MDS-1711

Expected behaviour:

When the user types something and clicks outside the input, the entered text should be converted into a tag.

The user should be able to navigate through existing tags using the keyboard arrow keys.

When a tag is selected, pressing the Delete key should remove it.

If user clicks on a tag, that should be highlighted

If there are existing tags and no characters have been typed, pressing backspace should highlight the last tag

Accessibility issues should be fixed

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 31, 2025

🦋 Changeset detected

Latest commit: c09638e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@robb91-dev robb91-dev changed the title fix: add navigation behaviour [MDS-1711] fix: add navigation behaviour to TagsInput [MDS-1711] Apr 1, 2025
Comment thread packages/core/src/selectButton/SelectButton.tsx Outdated
Comment thread packages/core/src/selectButton/SelectButton.tsx Outdated
Comment thread packages/core/src/tag/Tag.tsx Outdated
Comment thread packages/core/src/tagsInput/TagsInput.tsx Outdated
Comment thread packages/core/src/tagsInput/TagsInput.tsx
Comment thread packages/core/src/tagsInput/private/utils/useNavigationTags.ts Outdated
Comment thread packages/core/src/tagsInput/TagsInput.tsx Outdated
@robb91-dev robb91-dev merged commit fa823e3 into main Apr 1, 2025
@robb91-dev robb91-dev deleted the MDS-1711 branch April 1, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants