mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-18 09:52:05 -05:00
fix: auto-expand multi-language card when toggle is enabled (#7494)
When the Multiple Languages toggle was turned on, users had to separately click the card to expand it. Now the card auto-expands on activation, matching the pattern used by the welcome card toggle. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -163,6 +163,9 @@ export const MultiLanguageCard: FC<MultiLanguageCardProps> = ({
|
||||
}
|
||||
} else {
|
||||
setIsMultiLanguageActivated(true);
|
||||
if (!open) {
|
||||
setOpen(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user