You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When placed inside a scrollview, if you press the space too quickly after typing something, the space gets ignored (eg you pressed it but it doesn't get appended to the editor content) and instead the view gets scrolled down as if the editor requested focus.
How to Reproduce
Repro steps
Launch the sample app from the MCVE below
Make sure the content overflows the page vertically - if it doesn't, resize your window to activate the vertical scrollbar
Make sure you scroll all the way up (you should see the text "click below and write something" on the very bottom of the page)
Click below the text, you'll see the cursor light up on the editor
Type, very fast "asd[space]"
Watch "asd" being written, space being skipped and the page being scrolled all the way down
Of course removing that code is not the solution (I mean, I'm assuming it's there for a reason), so could it be that the if condition should be different?
The text was updated successfully, but these errors were encountered:
exactly what happen with me, but only happen on the web version. if we have any singlescrollview on top of editor this break the input using spaces characters
Bug Description
When placed inside a scrollview, if you press the space too quickly after typing something, the space gets ignored (eg you pressed it but it doesn't get appended to the editor content) and instead the view gets scrolled down as if the editor requested focus.
How to Reproduce
Repro steps
MCVE
main.dart
pubspec.yaml
Expected Behavior
The space key should just write a blank space on the editor without engaging the scroll.
Operating System
All OS, Web
AppFlowy Editor Version(s)
2.3.4
Screenshots
Video demonstrating the issue
Flutter.Demo.-.Google.Chrome.2024-04-25.10-58-21.mp4
Additional Context
It seems the issue is related to Line 141 to 149 of keyboard_service_widget.dart - I tried noob-solving the issue by completely removing those lines and the issue was gone.
Of course removing that code is not the solution (I mean, I'm assuming it's there for a reason), so could it be that the
if
condition should be different?The text was updated successfully, but these errors were encountered: