Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@mantine/core] PinInput: Fix paste on Mac, Tab behavior #5963

Merged
merged 2 commits into from Mar 26, 2024

Conversation

joshua-webdev
Copy link
Contributor

This PR fixes two issues with the PinInput component I noticed.

  1. Pasting on MacOS was not working, as the default paste shortcut is Command + V instead of Ctrl + V.
  2. Default browser tab navigation was prevented, which caused problems when a PinInput component appeared in the middle of a form. Now, if you press tab while in the last input segment, focus will move to the next focusable element. If you press shift + tab on the first input segment, focus will move to the previous focusable element.

@rtivital rtivital merged commit 1fe944f into mantinedev:master Mar 26, 2024
1 check passed
@rtivital
Copy link
Member

Thanks!

@joshua-webdev joshua-webdev deleted the pininput-metakey-tab-fix branch March 26, 2024 15:48
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.

None yet

2 participants