appuniversum / ember-appuniversum

Ember addon wrapping the appuniversum components.
https://appuniversum.github.io/ember-appuniversum
MIT License
14 stars 11 forks source link

Don't apply active style to `ember-power-select` component when it is disabled #439

Closed elpoelma closed 2 weeks ago

elpoelma commented 1 year ago

Describe the bug This package applies a blue-border style to an ember-power-select component when the ember-power-select-trigger--active class is applied. When an ember-power-select component is disabled, but still has the ember-power-select-trigger--active class applied, the blue border should not be displayed.

To Reproduce

We managed to reproduce this bug while implementing the address-edit feature of the ember-rdfa-editor-lblod-plugins package. See related PR: https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/307

Expected behavior When an ember-power-select component has the class ember-power-select-trigger--active , but is disabled, the blue 'active' border should not be shown.

Screenshots image

Desktop (please complete the following information):