[PR #12979] [CLOSED] app/ui: prevent sidebar animation on initial load #24563

Closed
opened 2026-04-19 17:39:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12979
Author: @sriharshavanga1
Created: 11/6/2025
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • 00d56e0 app/ui: prevent sidebar animation on initial load
  • 1db2df5 Merge pull request #1 from iamyoshita/iamyoshita-patch-1

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 app/ui/app/src/components/layout/layout.tsx (+1 -1)

📄 Description

This PR fixes https://github.com/ollama/ollama/issues/12954.

The main content area was using an unconditional transition-all class, which caused it to animate on page load.

This fix applies the existing mounted state (from the useEffect hook in SidebarLayout) to the

component, adding the transition class only after the initial render.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/12979 **Author:** [@sriharshavanga1](https://github.com/sriharshavanga1) **Created:** 11/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`00d56e0`](https://github.com/ollama/ollama/commit/00d56e0d4b5b6bf1776c9375e4461f2279cae56f) app/ui: prevent sidebar animation on initial load - [`1db2df5`](https://github.com/ollama/ollama/commit/1db2df5582459feead1fa1687dfdc423d2b3a1e6) Merge pull request #1 from iamyoshita/iamyoshita-patch-1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/ui/app/src/components/layout/layout.tsx` (+1 -1) </details> ### 📄 Description This PR fixes https://github.com/ollama/ollama/issues/12954. The main content area was using an unconditional transition-all class, which caused it to animate on page load. This fix applies the existing mounted state (from the useEffect hook in SidebarLayout) to the <main> component, adding the transition class only after the initial render. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 17:39:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#24563