Skip to content

Attributes not available in didRender #64

@simonihmig

Description

@simonihmig

I ran into a strange issue, when refactoring ember-popper to support splattributes. Although the polyfill was added, tests fail for Ember 2.18, but passes for newer versions not requiring the polyfill (see kybishop/ember-popper#101, https://travis-ci.org/kybishop/ember-popper/builds/521966875).

I tracked this down to the attributes not being applied to the element at the time didRender is called (which causes other JS errors down the road as the component cannot find the DOM element by ID).

Here's a failing test: #65.
Fails for Ember < 3.4, passes for the newer ones with native support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions