-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Forge - App UI Web
-
Minor
Issue Summary:
When Using the Select component and selecting an option inside a Confluence contentAction module, the module just crashes / closes automatically.
According to reports, this used to work before.
Steps to Reproduce
- Create a simple hello world app using the Confluence contentAction module using UI Kit
- Add a Select Element inside the Module
import React, { useEffect, useState } from 'react'; import ForgeReconciler, { Text, Select } from '@forge/react'; import { invoke } from '@forge/bridge';const App = () => { const [data, setData] = useState(null); useEffect(() => { invoke('getText', { example: 'my-invoke-variable' }).then(setData); }, []); return ( <> <Text>Hello world!</Text> <Text>{data ? data : 'Loading...'}</Text> <Select appearance="default" options={[ { label: 'Apple', value: 'a' }, { label: 'Banana', value: 'b' }, ]} /> </> ); };ForgeReconciler.render( <React.StrictMode> <App /> </React.StrictMode> );
3. Deploy and install the Forge app to your test instance.
Expected Results
The modal should remain open after an option is selected from the Select component.
Actual Results
The modal closes immediately after an option is selected
Workaround
As a workaround, users can utilize the keyboard to select an option without causing the modal to close. However, this approach may not perfectly meet all desired outcomes.
- is blocked by
-
EXT-3507 Loading...