Inline arrow key navigation in Input & Textarea not working (Table) #3661
-
I am new using Next UI, I have a scenario where I have a Table component and inside the table I have an input/textarea field, if i try to edit the text using arrow keys the navigation takes me to next cell of table. Following is my code:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I have same issue of this |
Beta Was this translation helpful? Give feedback.
-
I ended up using the table from html, Below is the code with Custom CSS to make it look like NextUI: JSX:
Import the styles file in same component: CustomTable.scss
|
Beta Was this translation helpful? Give feedback.
-
Hello @ali-shafi-hff. I had the same issue as your. After some investigation I noticed that this issue has been resolved by nextui on the latest minor update v.2.6.0. These are the changes https://nextui.org/blog/v2.6.0. On the Table component, they have added
|
Beta Was this translation helpful? Give feedback.
Hello @ali-shafi-hff. I had the same issue as your. After some investigation I noticed that this issue has been resolved by nextui on the latest minor update v.2.6.0. These are the changes https://nextui.org/blog/v2.6.0. On the Table component, they have added
isKeyboardNavigationDisabled
attribute which is basically disables keyboard navigation in tables. Here is How I am using it and it fixes the issue