Bug 8537 - Scrolling problem with EntryElement in custom sized MonoTouch Dialog?
Summary: Scrolling problem with EntryElement in custom sized MonoTouch Dialog?
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.1.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-11-21 05:03 UTC by Dylan
Modified: 2017-01-04 04:30 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Dylan 2012-11-21 05:03:37 UTC
I have created a MonoTouch DialogViewController which has a bunch of EntryElements in it used to capture information for a user registering. I then add this DialogViewController into another UIViewController:

            registerDialog = new RegisterDialog (); // the dvc
            registerDialog.View.Frame = new RectangleF (0, 60, 320, View.Frame.Height - 60);
            registerDialog.TableView.BackgroundView = null; // make the background transparent
            Add (registerDialog.View);

The problem comes when the user clicks on an EntryElement. The keyboard shows up and for the first few EntryElements everything is fine as the keyboard does not hide anything. As you progress through the EntryElements, the DialogViewController no longer scrolls the elements above the keyboard. Basically the scrolling of the DialogViewController breaks.

I have placed some screenshots and more information here: http://stackoverflow.com/questions/13484280/how-can-i-fix-the-scrolling-with-entryelement-in-custom-sized-monotouch-dialog

Is this a bug or is there something I can override to fix the scrolling?
Comment 1 Alex Soto [MSFT] 2017-01-04 04:30:24 UTC
I was not able to reproduce this issue, I but the correct answer to your question is subclass DialogViewController and do your magic instead.