{#if !isEmpty} { handleSendLikeScroll(); }} /> {/if}
bottomed move with transform, not bottom: // layout-property transitions need the main thread every frame and // stutter while a long conversation loads; transform transitions // run on the compositor and stay smooth 'pointer-events-none md:sticky fixed mt-auto transition-transform duration-200', deviceStore.isStandalone ? 'bottom-6 right-4 left-4' : deviceStore.isIOSSafari ? 'bottom-1 left-2 right-2' : 'bottom-2 right-2 left-2', 'md:bottom-4', isEmpty ? 'md:translate-y-[calc(-50dvh+8rem)] 2xl:translate-y-[calc(-50dvh+5rem)]' : '' ]} > {#if page.params.id} {/if}
{#if (deviceStore.isMobile ? mobileScrollDownHint || isMobileUserScrolledUp : autoScroll.userScrolledUp) && page.url.hash.includes(ROUTES.CHAT) && page.params.id} { mobileScrollDownHint = false; scroll.chatScrollContainer?.scrollTo({ behavior: 'smooth', top: scroll.chatScrollContainer.scrollHeight }); }} /> {/if}
chatStore.stopGeneration()} onSystemPromptAdd={handleSystemPromptAdd} />