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