mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-11 05:31:56 +00:00
4.3.2
* Fixed: Maintain the mouse hover state for chat when moving the mouse over the context menu from an in-line chat action. * Fixed: Do not allow mouse interaction with the notice at the bottom of chat when chat if frozen, ensuring that users can interact with the bottom chat line. * Fixed: Block and Hide Thumbnails buttons not appearing on Directory pages. * API Fixed: `deep_copy()` converting `null` into `{}`. * API Changed: Tooltips can now emit hover events.
This commit is contained in:
parent
21ee6fcfb7
commit
734a73eb0e
9 changed files with 119 additions and 26 deletions
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<div class="ffz--autocomplete tw-relative">
|
||||
<div class="tw-search-input" data-a-target="dropdown-search-input">
|
||||
<label v-if="placeholder" :for="'ffz-autocomplete$' + id" class="tw-hide-accessible">{{ placeholder }}</label>
|
||||
<label v-if="placeholder" :for="_id" class="tw-hide-accessible">{{ placeholder }}</label>
|
||||
<div class="tw-relative">
|
||||
<div v-if="hasIcon" class="tw-absolute tw-align-items-center tw-c-text-alt-2 tw-flex tw-full-height tw-input__icon tw-justify-content-center tw-left-0 tw-top-0 tw-z-default">
|
||||
<figure :class="icon" />
|
||||
</div>
|
||||
<input
|
||||
:id="'ffz-autocomplete$' + id"
|
||||
:id="_id"
|
||||
:placeholder="placeholder"
|
||||
:class="[hasIcon ? 'tw-pd-l-3' : 'tw-pd-l-1']"
|
||||
v-model="search"
|
||||
|
@ -72,6 +72,10 @@ let last_id = 0;
|
|||
|
||||
export default {
|
||||
props: {
|
||||
inputId: {
|
||||
type: String,
|
||||
required: false
|
||||
},
|
||||
items: {
|
||||
type: [Array, Function],
|
||||
required: false,
|
||||
|
@ -145,6 +149,13 @@ export default {
|
|||
},
|
||||
|
||||
computed: {
|
||||
_id() {
|
||||
if ( this.inputId && this.inputId.length )
|
||||
return this.inputId;
|
||||
|
||||
return `ffz-autocomplete$${this.id}`;
|
||||
},
|
||||
|
||||
hasIcon() {
|
||||
return this.icon && this.icon.length > 0
|
||||
},
|
||||
|
@ -190,8 +201,8 @@ export default {
|
|||
},
|
||||
|
||||
created() {
|
||||
this.maybeClose = debounce(this.maybeClose, 25);
|
||||
this.updateCache = debounce(this.updateCache, 250, 2);
|
||||
this.maybeClose = debounce(this.maybeClose, 250);
|
||||
this.updateCache = debounce(this.updateCache, 500, 2);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue