A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
refactor(ui): solve the problem that the focus style is incorrect
robindf7d21e8ca29
diff --git a/ui/src/pages/Questions/Detail/components/WriteAnswer/index.tsx b/ui/src/pages/Questions/Detail/components/WriteAnswer/index.tsxindex febdb585..01badd47 100644--- a/ui/src/pages/Questions/Detail/components/WriteAnswer/index.tsx+++ b/ui/src/pages/Questions/Detail/components/WriteAnswer/index.tsx@@ -82,6 +82,7 @@ const Index: FC<Props> = ({ visible = false, data, callback }) => {handleSubmit();};const handleFocusForTextArea = () => {+ setForceType('answer');setShowEditor(true);};