FIX: select-kit components not being hidden.
This commit is contained in:
parent
ad447677ed
commit
52580605d8
|
@ -1,4 +1,4 @@
|
|||
{{#unless isHidden}}
|
||||
{{#unless selectKit.isHidden}}
|
||||
{{component selectKit.options.headerComponent
|
||||
tabindex=tabindex
|
||||
value=value
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{#unless isHidden}}
|
||||
{{#unless selectKit.isHidden}}
|
||||
{{component selectKit.options.headerComponent
|
||||
tabindex=tabindex
|
||||
value=value
|
||||
|
|
|
@ -7,10 +7,6 @@
|
|||
vertical-align: middle;
|
||||
user-select: none;
|
||||
|
||||
&.is-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
&.is-disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
|
@ -177,6 +177,7 @@ QUnit.test("hide component if no content", async assert => {
|
|||
await composerActions.selectRowByValue("reply_as_private_message");
|
||||
|
||||
assert.ok(composerActions.el().hasClass("is-hidden"));
|
||||
assert.equal(composerActions.el().children().length, 0);
|
||||
|
||||
await click("button#create-topic");
|
||||
await composerActions.expand();
|
||||
|
|
Loading…
Reference in New Issue