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

Feedback Screenshot is half when Keyboard is opened #323

Open
alp950 opened this issue Aug 26, 2024 · 2 comments
Open

Feedback Screenshot is half when Keyboard is opened #323

alp950 opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@alp950
Copy link

alp950 commented Aug 26, 2024

Version

3.1.0

Library

feedback

Flutter channel

stable

Flutter version

3.24.0

Platform

Android, iOS

Details

When hitting submit button while the keyboard is opened the Screenshot is just half.
IMG_3035
IMG_3034
IMG_3032
IMG_3033

Steps to reproduce

Step 1 - Open Betterfeedback
Step 2 - Click on Textfield
Step 3 - Click Submit while Keyboard is opened

Output of flutter doctor -v

No response

@alp950 alp950 added the bug Something isn't working label Aug 26, 2024
@alp950
Copy link
Author

alp950 commented Aug 26, 2024

The TextButton should be Updated with this

TextButton(
key: const Key('submit_feedback_button'),
child: Text(
FeedbackLocalizations.of(context).submitButtonText,
style: TextStyle(
color: FeedbackTheme.of(context).activeFeedbackModeColor,
),
),
onPressed: () =>
{
MediaQuery.of(context).viewInsets.bottom > 0.0 ? FocusManager.instance.primaryFocus?.unfocus();
widget.onSubmit(controller.text),
}

    ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@alp950 and others