Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

ng-cloak not working with md-autocomplete #5188

Closed

Description

@NicolasBlois

Slow motion gif (it only happens at the first click, to reproduce refresh the page and click again) :
ezgif-3858551348

Normal speed gif :
telechargement

Activity

  1. ThomasBurleson commented on Oct 15, 2015

    @ThomasBurleson
    Contributor

    Ah HAH! There it is. Thx @blootch. We will investigate...

  2. added this to the milestone on Oct 15, 2015
  3. robertmesserle commented on Oct 27, 2015

    @robertmesserle
    Contributor

    @kseamon As far as I can tell, this is related to Virtual Repeater. Can you take a look?

  4. kseamon commented on Oct 27, 2015

    @kseamon
    Contributor

    The repeater does some stuff asynchronously at startup. Is this talking about an autocomplete inside of ng-cloak or row item templates containing ng-cloak?

  5. robertmesserle commented on Oct 27, 2015

    @robertmesserle
    Contributor

    So basically what happens on the first focus:

    • the DOM element is shown via ng-show
    • the matches array is populated with a list of items to display

    However, we see a flicker of the templates showing {{item.display}}

  6. robertmesserle commented on Oct 27, 2015

    @robertmesserle
    Contributor

    @kseamon Assigning to you for now. Please kick back to me if it isn't fixable within virtual repeater.

  7. added this to the 1.0-rc4 milestone on Nov 5, 2015
  8. 1 remaining item

  9. kseamon commented on Nov 9, 2015

    @kseamon
    Contributor

    Looks like this issue A) has nothing to do with ng-cloak, and B) only a bit to do with virtual-repeat.

    The real problem is MdAutocompleteItemScopeDirective. Thus far, commenting it out fixes the issue. I'll try to fix it, but do we really even need it @robertmesserle ?

  10. robertmesserle commented on Nov 9, 2015

    @robertmesserle
    Contributor

    @kseamon I'll sync up with @topherfangio to figure out what we can do about this - I thought I checked that, but apparently I missed something. Reassigning to me.

  11. kseamon commented on Nov 9, 2015

    @kseamon
    Contributor

    Have a look at #5637

  12. modified the milestones: 1.0-rc5, on Nov 23, 2015
  13. kseamon commented on Nov 25, 2015

    @kseamon
    Contributor

    @robertmesserle Any reason for the milestone delay? My PR that fixes this has been pending for a week or two now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions