ember-basic-dropdown icon indicating copy to clipboard operation
ember-basic-dropdown copied to clipboard

4.0.3 causes animate out bug

Open erichaus opened this issue 3 years ago • 4 comments
trafficstars

Upgrading to 4.0.3 results in a glitched animate out as shown below.

https://user-images.githubusercontent.com/230757/152736776-d6e62fd8-f333-49c4-9f5f-3debf7f0a68a.mov

erichaus avatar Feb 07 '22 06:02 erichaus

Can you provide a simple reproduction? I believe something similar was reported but only of renderInPlace dropdowns, but I couldn't verify it myself.

cibernox avatar Feb 25 '22 16:02 cibernox

@cibernox I've narrowed it down to this line that causes the bug:

https://github.com/cibernox/ember-basic-dropdown/commit/90b0f629c208fd3d8b3cd3792e0d430283c87d60#diff-5eb8bde405ea618cba05ea05b9898dc60ff96ac459a953c279fbb24f39a46f81R153

erichaus avatar Jan 02 '23 19:01 erichaus

For reference I am dynamically adding animation style in my custom position export function e.g.

function customPosition() {
    style = {
        top: ...,
        left: ...,
        animation: ...,
    };

  return { style };
}

erichaus avatar Jan 02 '23 19:01 erichaus

Maybe I'm doing it wrong though...

erichaus avatar Jan 02 '23 19:01 erichaus