Skip to content

Commit

Permalink
Make colorpicker trigger focusable
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Feb 22, 2023
1 parent a6460be commit fc0aefa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,11 @@ For the multiselect component, all events will be passed through. Please see the
<NcColorPicker v-else-if="type=='color'"
:id="inputId"
:value="value"
:class="{ focusable: isFocusable }"
class="colorpicker__trigger"
@input="onInput">
<div :style="{'background-color': value}" class="colorpicker__preview" />
<button :style="{'background-color': value}"
class="colorpicker__preview"
:class="{ focusable: isFocusable }" />
</NcColorPicker>

<NcTextField v-else
Expand Down Expand Up @@ -548,6 +549,8 @@ $input-margin: 4px;
width: 100%;
height: 36px;
border-radius: var(--border-radius-large);
border: 2px solid var(--color-border-maxcontrast);
box-shadow: none !important;
}
}
}
Expand Down

0 comments on commit fc0aefa

Please sign in to comment.