AiForms.SettingsView icon indicating copy to clipboard operation
AiForms.SettingsView copied to clipboard

EntryCell - bug on scrolling when at bottom of settingsview

Open matteopiccioni opened this issue 5 years ago • 3 comments

Hello, my problem is on Android.

I have a settingsview page, visible on screen I have 4-5 sections with viewcell inside, and at the bottom of the page (not visible) I have 4 entrycell in one section

When I enter the text on the first entrycell the page scrolls in the correct way and I can see keyboard and entryCell.. My problem is that when I have to go to the second entryCell, I cant scroll the page.. The only thing I can do is: tap 'enter keyboard' or 'back button' to close the keyboard, then I can see and tap nel second EntryCell (and so on for the entrycell 3 and 4)

There is a way to enable scroll of the section or use the 'Enter keyboard' to go to the next entrycell?

Update: I think there is a bug. If I scroll down at the bottom of my page and hit the first entrycell, then the keyboard hide the others entrypages, but unfortunately I cant scroll the page. I can only close the keyboard and tap the next entrycell.

If I dont scoll till the botton of the page, then when I tap the first entrycell, then the keyboard hide the others entrypages, and I am still able to scroll the page and see the entrypage 2,3,4.

Hope it help to spot the bug! Thanks!

matteopiccioni avatar Oct 27 '18 09:10 matteopiccioni

@matteopiccioni

Thank you for your report.

I was able to reproduce that issue. But the issue was reproduced using a Forms.TableView, too. So I think the issue in the specifications.

As, once the keyboard is closed, scrolling is enabled, I don't think the issue significant.

But if I can find how to solve, I will fix the issue. Also, would you please tell me if you find a workaround?

Thanks.

muak avatar Oct 30 '18 14:10 muak

Thanks for your answer Unfortunately I didn't find a solution, I hoped in a library bug :)

matteopiccioni avatar Oct 30 '18 14:10 matteopiccioni

@matteopiccioni

Please try this solution in blog post below, it works for me. I hope this helps you.

https://xamgirl.com/adjusting-elements-when-keyboard-shows-in-xamarin-forms/#comments

For Android, just add two lines of code to your App.xaml file, achieve what you want. For iOS, you need to implement custom renderer.(I've never tried this, because I don't have iOS device.😢)

20200528_232808

shuheydev avatar May 28 '20 14:05 shuheydev