fix: fix page rapidly flickering issue (#935)

* fix: fix page rapidly flickering issue

* docs: update changelog

* refactor: update
This commit is contained in:
ayangweb
2025-10-21 14:31:23 +08:00
committed by GitHub
parent 5c92b5acab
commit 770f60f30c
2 changed files with 2 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ fix: duplicate chat content #916
fix: resolve pinned window shortcut not working #917
fix: WM ext does not work when operating focused win from another display #919
fix(Window Management): Next/Previous Desktop do not work #926
fix: fix page rapidly flickering issue #935
### ✈️ Improvements
@@ -41,7 +42,6 @@ chore: bump tauri_nspanel to v2.1 #933
refactor: show_coco/hide_coco now use NSPanel's function on macOS #933
refactor: procedure that convert_pages() into a func #934
## 0.8.0 (2025-09-28)
### ❌ Breaking changes

View File

@@ -334,13 +334,13 @@ export default function ChatInput({
return (
<div className={`w-full relative`}>
<div
ref={containerRef}
className={`flex items-center dark:text-[#D8D8D8] rounded-md transition-all relative overflow-hidden`}
>
{lineCount === 1 && renderSearchIcon()}
{visibleSearchBar() && (
<div
ref={containerRef}
className={clsx(
"relative w-full p-2 bg-[#ededed] dark:bg-[#202126]",
{