Skip to content

Commit

Permalink
Merge pull request #1401 from culturecreates/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sahalali authored Oct 11, 2024
2 parents 7bbe333 + d8118cf commit ab4b8b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/MultilingualInput/MultilingualInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ function MultilingualInput({ children, ...rest }) {
right: <Button type="primary" onClick={handleMoveRight} icon={<MoveRightExtra />} className="tabs-icon-extra" />,
};

const handleTabChange = (key) => {
setActiveKey(key);
};

return (
<Tabs
type="card"
Expand All @@ -166,6 +170,7 @@ function MultilingualInput({ children, ...rest }) {
tabBarExtraContent={extraNavigationIcons}
tabPosition="top"
animated="false"
onChange={handleTabChange}
tabBarStyle={{ margin: '0' }}
className="bilingual-input-tab"
data-cy="bilingual-tabs"
Expand Down

0 comments on commit ab4b8b1

Please sign in to comment.