[Web] Unable to write space or use key arrows #452
Replies: 5 comments 2 replies
-
|
You can disable space button https://stackoverflow.com/questions/65766557/flutter-web-disable-spacebar-to-scroll But doesnt work on latest version flutter. I think need to disable on quill editrors text_area like this But i doesnt know how do it |
Beta Was this translation helpful? Give feedback.
-
|
Find best solution #304 Found a workaround: Wrap QuillEditor with a RawKeyboardListener to intercept KeyEvent and prevent it from propagating to parents. |
Beta Was this translation helpful? Give feedback.
-
This was the solution, thanks. 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Cheers for the workaround, it works. This should be in the editor itself so we don't have to take that in consideration. |
Beta Was this translation helpful? Give feedback.
-
|
I had some issues with newer version of some widgets. Example: I replaced old RadioListTile(s) with RadioGroup + new RadioListTile(s). Radio group has additional keyboard shortcuts and blocks spacebar and arrow keys. before flutter 3: Column(
children: [
RadioListTile(),
RadioListTile(),
RadioListTile(),
TextField(),
]
)after flutter 3 with a bug: RadioGroup(
child: Column(
children: [
RadioListTile(),
RadioListTile(),
RadioListTile(),
TextField(), // <- wont receive spacebar and arrows
]
)
) after flutter 3 with no bug: Column(
children [
RadioGroup(
child: Column(
children: [
RadioListTile(),
RadioListTile(),
RadioListTile(),
]
)
),
TextField(), // <- will receive spacebar and arrows
],
)
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My issue is about [Web].
When I try to write a space or use the keyboard arrows I have no response from the editor, but if I try to use this in a TextField or a TextFormField it works correctly.
This is my code:
I don't know if I'm missing something.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions