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

Only set animationClass on dropdown-content when animations are enabled

Open nickschot opened this issue 3 years ago • 1 comments

This fixes an issue where the dropdown content could be invisible in tests due to the transitioning in class always being set. Could break visual regression testing etc. in cases where the style for this class makes the dropdown invisible

nickschot avatar Mar 09 '22 11:03 nickschot

🤦 oh this was added here as in a fix for app behaviour: https://github.com/cibernox/ember-basic-dropdown/pull/628

Double checking... but the current behaviour is also not great as it can break tests/percy in the way I described

edit: I think this change is still correct for the described use case, keeps the fix intact and makes it render in tests properly again. Separately from this, the original problem that #628 seems to solve still appears to be broken for dropdowns that are rendered in place regardless of this MR.

nickschot avatar Mar 09 '22 16:03 nickschot