mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
Fix LabelContainer badges disappearing when field is still hovered
This commit is contained in:
parent
fb26010dd7
commit
a5fb8c8212
1 changed files with 2 additions and 10 deletions
|
@ -87,19 +87,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
onDestroy(() => api?.destroy());
|
onDestroy(() => api?.destroy());
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="field-container">
|
<div class="field-container" on:mouseenter on:mouseleave>
|
||||||
<slot name="field-label" />
|
<slot name="field-label" />
|
||||||
|
|
||||||
<Collapsible collapse={collapsed} animated={!$reducedMotion} let:collapsed={hidden}>
|
<Collapsible collapse={collapsed} animated={!$reducedMotion} let:collapsed={hidden}>
|
||||||
<div
|
<div use:elementResolve class="editor-field" on:focusin on:focusout {hidden}>
|
||||||
use:elementResolve
|
|
||||||
class="editor-field"
|
|
||||||
on:focusin
|
|
||||||
on:focusout
|
|
||||||
on:mouseenter
|
|
||||||
on:mouseleave
|
|
||||||
{hidden}
|
|
||||||
>
|
|
||||||
<EditingArea
|
<EditingArea
|
||||||
{content}
|
{content}
|
||||||
fontFamily={field.fontFamily}
|
fontFamily={field.fontFamily}
|
||||||
|
|
Loading…
Reference in a new issue