Temp fix textarea
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
hideAutoComplete()
|
||||
}}
|
||||
>
|
||||
{#if !highlight}
|
||||
{#if !highlight || disableHighlight}
|
||||
<textarea
|
||||
class="w-full h-full bg-transparent focus-within:outline-none resize-none absolute top-0 left-0 z-50 overflow-y-auto"
|
||||
class:px-4={padding}
|
||||
@@ -104,6 +104,7 @@
|
||||
import { isMobile } from 'src/ts/globalApi.svelte';
|
||||
import { isFirefox, sleep } from 'src/ts/util';
|
||||
import { onDestroy, onMount } from 'svelte';
|
||||
import { disableHighlight } from 'src/ts/stores.svelte';
|
||||
interface Props {
|
||||
size?: 'xs'|'sm'|'md'|'lg'|'xl'|'default';
|
||||
autocomplete?: 'on'|'off';
|
||||
|
||||
@@ -89,6 +89,8 @@ export const DBState = $state({
|
||||
db: {} as any as Database
|
||||
});
|
||||
|
||||
export const disableHighlight = writable(true)
|
||||
|
||||
let selIdState = $state(0)
|
||||
|
||||
selectedCharID.subscribe((v) => {
|
||||
|
||||
Reference in New Issue
Block a user