-
Notifications
You must be signed in to change notification settings - Fork 788
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
No Overlay widget exists above EditableText when using keyboard(computer's emulator) #163
Labels
bug
Something isn't working
Comments
@juliansteenbakker I just see the same error again, this time in a Xiaomi Redmi Note 7. |
My current code is simple: class LoginScreen extends HookWidget {
@override
Widget build(BuildContext context) {
final AuthState authScreenState = useProvider(authNotifierProvider);
final AuthNotifier authNotifier =
useProvider(authNotifierProvider.notifier);
final userState = useProvider(userEntityProvider);
return FlutterLogin(
title: AppLiterals.title,
footer: AppLiterals.copyRight,
// TODO: logo: '',
messages: LoginMessages(usernameHint: "E-postanın adresi!"),
loginProviders: <LoginProvider>[
LoginProvider(
icon: MdiIcons.facebook,
callback: () => authNotifier.signInWithFacebook()),
LoginProvider(
icon: MdiIcons.google,
callback: () => authNotifier.signInWithGoogle()),
LoginProvider(
icon: MdiIcons.apple,
callback: () => authNotifier.signInWithApple()),
],
onSignup: (LoginData data) => authNotifier.registerUser(
username: data.name, password: data.password),
onLogin: (LoginData data) =>
authNotifier.signIn(username: data.name, password: data.password),
onRecoverPassword: (String name) =>
authNotifier.recoverPassword(username: name),
onSubmitAnimationCompleted: () => authScreenState.when(
loading: () => Center(child: CircularProgressIndicator()),
signedUp: (signedUpUser) => pushToPage(
context,
Scaffold(
body: SurveyScreen(
onCompleteSurvey: () => pushAndReplaceToPage(
context,
Scaffold(
body: LobbyScreen(),
))),
)),
error: (error) => ErrorScreen(
message: error,
actionLabel: 'Home',
onPressed: () => pushAndReplaceToPage(context, SplashScreen()),
),
loggedOut: () => pushAndReplaceToPage(context, SplashScreen())),
);
}
}
|
With class CancerApp extends HookWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
final _appRouter = AppRouter();
final bool darkTheme = useProvider(darkThemeProvider);
final launcherState = useProvider(launcherProvider);
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]);
return MaterialApp.router(
title: 'Thesis Cancer',
theme: darkTheme ? ThemeData.dark() : ThemeData.light(),
routerDelegate: _appRouter.delegate(),
routeInformationParser: _appRouter.defaultRouteParser(),
// home: SplashScreen()
builder: (context, router) => launcherState.when(
loading: () => SplashScreen(),
needsProfile: () => LoginScreen(),
profileLoaded: () => MainScreen()),
);
}
} |
How is new sample? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I'm testing my Login screen on an emulator and I input email or password with the computer's keyboard I get the next behaviour if i try to delete letter or move the text cursor back:
Record_player_20210425153830.mp4
Followed by the next report on the debug console:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It was normally working: when you move or delete there is no any log in console, going back with the cursor does work correctly and deleting from keyboard also works fine.
Screenshots
If applicable, add screenshots to help explain your problem.
Information (please complete the following information):
Tablet
Android 10 API 29
2.0.5
flutter_login: ^2.0.0-nullsafety.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: