Skip to content
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

Issues with Navigation Controller #7

Open
albertobitto opened this issue Jan 22, 2014 · 1 comment
Open

Issues with Navigation Controller #7

albertobitto opened this issue Jan 22, 2014 · 1 comment

Comments

@albertobitto
Copy link

Hi, I'm experiencing some weird behaviour when DFDatePickerViewController is embedded in a Navigation Controller: the date picker view doesn't always scroll to current date when appearing.

After some research, I came to the conclusion that it depends on how the view controller is configured on storyboard/interface builder.
Mostly, I played with two flags that seem to change the behaviour of your component: "Resize view from NIB" (Layout) and "Under Top Bars" (Extend Edges).

The weird thing is that with the same configuration, the view controller may behave differently on 3.5" and 4" devices (either physical or simulated).

This is what I found:

  • on 4" devices, the scrolling always works, except when only "Resize view from NIB" is checked;
  • on 3.5" devices, the scrolling works only when both flags are checked.

Thank you

@evadne
Copy link
Owner

evadne commented Jan 22, 2014

I think the edge insets are interfering with the content offset.

We should patch this weird behavior.

On Jan 22, 2014, at 19:27, Punkers notifications@github.com wrote:

Hi, I'm experiencing some weird behaviour when DFDatePickerViewController
is embedded in a Navigation Controller: the date picker view doesn't always
scroll to current date when appearing.

After some research, I came to the conclusion that it depends on how the
view controller is configured on storyboard/interface builder.
Mostly, I played with two flags that seem to change the behaviour of your
component: "Resize view from NIB" (Layout) and "Under Top Bars" (Extend
Edges).

The weird thing is that with the same configuration, the view controller
may behave differently on 3.5" and 4" devices (either physical or
simulated).

This is what I found:

  • on 4" devices, the scrolling always works, except when only "Resize
    view from NIB" is checked;
  • on 3.5" devices, the scrolling works only when both flags are
    checked.

Thank you


Reply to this email directly or view it on
GitHubhttps://github.com//issues/7
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants