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

feat: Need selection power in Input element #4

Open
AlexxNB opened this issue Nov 26, 2023 · 0 comments
Open

feat: Need selection power in Input element #4

AlexxNB opened this issue Nov 26, 2023 · 0 comments

Comments

@AlexxNB
Copy link

AlexxNB commented Nov 26, 2023

Hello!
The incredible lib, thank you!

In my project, I need the editor-like textarea. The multiline Input element is good enough, but I need more power to work with text selection:

  1. Selecting with Shift + arrow-keys.
  2. Selecting with mouse inside Input element (but not the native terminal selection, because it only allows full width selection).

Maybe it is possible to make useSelection hook for that purposes in future versions?

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

No branches or pull requests

1 participant