-
Notifications
You must be signed in to change notification settings - Fork 29k
Closed
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.found in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.5Found to occur in 2.5Found to occur in 2.5has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Steps to Reproduce
- Make sure you use one of the recent flutter beta versions (24 or 25). I used
1.25.0-8.2.pre
. - Create a default flutter app and add webview_flutter package to it.
- Use this tiny code snippet:
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('iOS Simulator Keyboard')),
body: WebView(
initialUrl: 'https://google.com',
),
),
);
}
}
Here is my pubspec file contents:
name: webview_keyboard_ios
description: A new Flutter project.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
webview_flutter: 1.0.7
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
flutter:
uses-material-design: true
- Run the app on an iOS simulator and put your mouse cursor into the webpage text field.
- Observe the keywords not working.
Expected results:
- iOS Simulator Software keyboard is shown;
- I'm able to type text using my laptop hardware keyboard.
Actual results:
- iOS Software keyboard is not showing up for Web pages' fields;
- Laptop Hardware Keyboard not working for iOS Simulator.
PLEASE NOTE:
the iOS simulator keyboard was working fine up until flutter 1.23.0-18.1.pre
inclusive.
I also attached the sample project:
webview_keyboard_ios.zip
Logs
flutter doctor -v
output:
✓] Flutter (Channel beta, 1.25.0-8.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-BY)
• Flutter version 1.25.0-8.2.pre at /Users/pavel_sulimau/src/open_source/flutter
• Framework revision b0a2299859 (10 days ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/pavel_sulimau/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.1
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.1
[✓] Connected device (1 available)
• iPhone 12 Pro (mobile) • 629A4367-1BDB-4287-9F4F-CF760A7D57F6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3
(simulator)
• No issues found!
yanakanavalik, bnvmxm, amarchenko25, TahaTesser, nt4f04uNd and 22 moresnaeji, yena-hwang and kikuchy
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: regressionIt was better in the past than it is nowIt was better in the past than it is nowcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.found in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.5Found to occur in 2.5Found to occur in 2.5has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version