Open nawazish-rabbani opened 3 years ago
ScrollView automatically scrolling to last focused entry in IOS. create a simple layout in this format ScrollView StackLayout Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" StackLayout ScrollView
Last field should be focused and scrollview should not move to first field
Scrollview is moving to last focused field
IOS
Also having problems with iOS scrolling away automatically from selected fields.
I am facing the same problem. Some workaround?
Description
ScrollView automatically scrolling to last focused entry in IOS. create a simple layout in this format ScrollView StackLayout Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" Entry PlaceHolder="First" StackLayout ScrollView
Steps to Reproduce
Expected Behavior
Last field should be focused and scrollview should not move to first field
Actual Behavior
Scrollview is moving to last focused field
Basic Information
Environment
IOS
Show/Hide Visual Studio info
``` === Visual Studio Community 2019 for Mac === Version 8.8.4 (build 30) Installation UUID: 2addb518-1c73-4d97-ad3e-db7b30c58025 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638) Package version: 612000113 === Mono Framework MDK === Runtime: Mono 6.12.0.113 (2020-02/4fdfb5b1fd5) (64-bit) Package version: 612000113 === Roslyn (Language Service) === 3.8.0-5.20519.18+4c195c3ac1974edcefa76774d7a59a2350ec55fa === NuGet === Version: 5.8.0.6860 === .NET Core SDK === SDK: /usr/local/share/dotnet/sdk/5.0.101/Sdks SDK Versions: 5.0.101 5.0.100 3.1.404 3.1.403 3.1.402 3.1.101 MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks === .NET Core Runtime === Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 5.0.1 5.0.0 3.1.10 3.1.9 3.1.8 3.1.1 2.1.23 2.1.22 2.1.15 === .NET Core 3.1 SDK === SDK: 3.1.404 === Xamarin.Profiler === Version: 1.6.15.68 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Xamarin.Android === Version: 11.1.0.17 (Visual Studio Community) Commit: xamarin-android/d16-8/c0e2b8e Android SDK: /Users/nawazish/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: None installed SDK Tools Version: 26.1.1 SDK Platform Tools Version: 30.0.4 SDK Build Tools Version: 29.0.2 Build Information: Mono: be2226b Java.Interop: xamarin/java.interop/d16-8@79d9533 ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000 SQLite: xamarin/sqlite/3.32.1@1a3276b Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc === Microsoft OpenJDK for Mobile === Java SDK: /Users/nawazish/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL === Android SDK Manager === Version: 16.8.0.32 Hash: 01a7774 Branch: remotes/origin/d16-8 Build date: 2020-12-10 00:32:24 UTC === Android Device Manager === Version: 16.8.0.46 Hash: 0a81419 Branch: remotes/origin/d16-8 Build date: 2020-12-10 00:32:44 UTC === Xamarin Designer === Version: 16.8.0.510 Hash: 44e3f3ce9 Branch: remotes/origin/d16-8 Build date: 2020-12-10 00:06:14 UTC === Apple Developer Tools === Xcode 12.2 (17535) Build 12B45b === Xamarin.Mac === Version: 7.0.0.15 (Visual Studio Community) Hash: 87a1b18d8 Branch: d16-8 Build date: 2020-11-16 21:39:40-0500 === Xamarin.iOS === Version: 14.6.0.15 (Visual Studio Community) Hash: 87a1b18d8 Branch: d16-8 Build date: 2020-11-16 21:39:41-0500 === Build Information === Release ID: 808040030 Git revision: eaa21a8983aa5c4bcf6a665892478b4f3d413418 Build date: 2020-12-10 11:06:12-05 Build branch: release-8.8 Xamarin extensions: eaa21a8983aa5c4bcf6a665892478b4f3d413418 === Operating System === Mac OS X 10.15.6 Darwin 19.6.0 Darwin Kernel Version 19.6.0 Thu Jun 18 20:49:00 PDT 2020 root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 ```Screenshots