Skip to content

DatePicker - ExpressionChangedAfterItHasBeenCheckedError #687

@dassjosh

Description

@dassjosh

When using the DatePicker if it is close to the bottom of the screen and opens the Popup above the control it will throw the ExpressionChangedAfterItHasBeenCheckedError. If it opens below the control no error will be thrown.

Here is a slightly modified plunker to help show this: Modified Original
In this plunker I added a field called distance. Adjust this field to get DatePicker close to the bottom so it's popup will open above the control.

Steps to Reproduce:

  1. Adjust the distance field value to get control near the bottom so the popup opens above the control.
  2. Open the console
  3. Click on the Calendar Icon
  4. Error will Appear

Expected Result:
If the popup opens above the control no error should appear

Actual Result:
Error appears if popup opens above the control

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions