ember-basic-dropdown
ember-basic-dropdown copied to clipboard
4.0.3 causes animate out bug
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
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 I've narrowed it down to this line that causes the bug:
https://github.com/cibernox/ember-basic-dropdown/commit/90b0f629c208fd3d8b3cd3792e0d430283c87d60#diff-5eb8bde405ea618cba05ea05b9898dc60ff96ac459a953c279fbb24f39a46f81R153
For reference I am dynamically adding animation style in my custom position export function e.g.
function customPosition() {
style = {
top: ...,
left: ...,
animation: ...,
};
return { style };
}
Maybe I'm doing it wrong though...