Commit 4264e02
committed
fix(conversations): stop welcome controls lingering after a tab switch
Inactive conversation tabs stay mounted and hide with visibility:hidden. Tailwind v4's transition-all transitions visibility too, so welcome controls (agent-selector pills, quick-action tabs, composer buttons) kept animating their inherited visibility and stayed painted 150-300ms over the newly-active conversation. Suppress transitions on the hidden tab subtree so visibility snaps immediately, and derive the tab body's active state directly from the active tab id.1 parent 4941c19 commit 4264e02
3 files changed
Lines changed: 41 additions & 18 deletions
File tree
- src
- app
- components/conversations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
1509 | 1524 | | |
1510 | 1525 | | |
1511 | 1526 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
55 | 78 | | |
56 | 79 | | |
57 | 80 | | |
| |||
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
1718 | 1717 | | |
1719 | 1718 | | |
1720 | 1719 | | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | 1720 | | |
1731 | 1721 | | |
1732 | 1722 | | |
| |||
2035 | 2025 | | |
2036 | 2026 | | |
2037 | 2027 | | |
2038 | | - | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | 2028 | | |
2043 | | - | |
2044 | 2029 | | |
2045 | 2030 | | |
2046 | 2031 | | |
2047 | 2032 | | |
2048 | 2033 | | |
2049 | 2034 | | |
2050 | 2035 | | |
2051 | | - | |
2052 | | - | |
| 2036 | + | |
| 2037 | + | |
2053 | 2038 | | |
2054 | 2039 | | |
2055 | 2040 | | |
| |||
2071 | 2056 | | |
2072 | 2057 | | |
2073 | 2058 | | |
2074 | | - | |
| 2059 | + | |
2075 | 2060 | | |
2076 | 2061 | | |
2077 | 2062 | | |
| |||
0 commit comments