refactor(task-drawer): update tab behavior and enhance link handling in description editor

- Changed tab component property from 'destroyInactiveTabPane' to 'destroyOnHidden' for improved tab management.
- Added CSS styles for links in the description editor to enhance visibility based on theme mode.
- Implemented link click handling to open links in a new tab while preventing default editor behavior, improving user experience.
This commit is contained in:
chamikaJ
2025-07-08 16:02:12 +05:30
parent 8fb33e311d
commit 66e01119d2
2 changed files with 41 additions and 4 deletions

View File

@@ -222,7 +222,7 @@ const TaskDrawer = () => {
<Tabs
type="card"
items={tabItems}
destroyInactiveTabPane
destroyOnHidden
onChange={handleTabChange}
activeKey={activeTab}
/>