FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
127 stars 26 forks source link

Wiget on WidgetTree will be deleted if BackSpace pressed on Foreground Panel #2557

Closed ryutosh closed 7 months ago

ryutosh commented 7 months ago

Has your issue been reported?

Current Behavior

Pressing "Backspace" key (on MacOS /w HHKB keyboard) on Foreground Panel, the Wiget on WidgetTree will be deleted. i.e. If I press "Backspace" to correct "WrongCaracter" on the Panel, "Wrap" Widget on WidgetTree will be deleted.

image

After pressing "Backspace"

image

F.Y.I.

Pressed Key code

image

Expected Behavior

Just work as backspace on foreground panel.

Steps to Reproduce

As in Current Behavior section.

Reproducible from Blank

Bug Report Code (Required)

ITFfl8jq3ItOm8sC1a6Jd+1Wnj4sH2UcTYMZm9ZxYx4aJZytP4ktPOP4Q0NKTMznYHxiDk2kqzgE+ez9uNnXDPECaC+cbak+0JVAZxWXUTqRbraXC7uSWX97GcBhGX661KS33BJANuNZL2wQ206bNq3qNleeY8aSfxBlZ7vfcPo=

Context

I know this problem and I can avoid this issue by don't pressing Backspace. But if forgetting that, little panic. If I wanted to try delete several characters and repeated pressing "Backspace", many widgets will disappear, really panic.

Visual documentation

As in Current Behavior section.

Additional Info

No response

Environment

- FlutterFlow version: v4.1 - Flutter 3.19.1
- Platform: Web
- Browser name and version: Chrome 122.0.6261.129 (Official Build) (arm64)
- Operating system and version affected: macOS Sonoma 14.2.1
blueprin4 commented 7 months ago

I was just coming here to report the same thing. I spent hours trying to figure out why all my widgets were deleted when I know I didn't delete them. Finally discovered the same especially when deleting code in custom actions code or even deleting the title of custom action.

ryutosh commented 7 months ago

I was just coming here to report the same thing. I spent hours trying to figure out why all my widgets were deleted when I know I didn't delete them. Finally discovered the same especially when deleting code in custom actions code or even deleting the title of customer action.

Ha-ha! Thanks for your additional information! I knew about Backspace problem a long time ago, and I should have reported it earlier😅 But it was a hard process of Issuing (see the number of required fields above), but the more I concentrate on developing(and forgetting to avoid Backspace), the more the widget disappears, and I couldn't stand it anymore😂