Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

The performance of datepicker seems poor #5964

@e-cloud

Description

@e-cloud

plunkr: http://embed.plnkr.co/zeQzQgF1UKb2G66yoSRI/
Angular: 1.5.5
UIBS: 1.3.3

In my usage, i combine the datepicker and the timepicker. When i just upgrade to UIBS 1.3 form UIBS 0.13, i just find that as i change the timepicker, the corresponding changes of datepicker are slow.

Then i make a test. It turns out whenever i change the ng-model of datepicker, it will reconstruct the whole datepicker which can be concluded from 43 $destroy event.(see the console of the plukr if you change the date)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions