patternfly-react
patternfly-react copied to clipboard
Bug - CodeEditor - loading component not passed to Editor
Describe the problem
In case loading property is defined this is not considered by the @monaco-editor/react Editor component, just FMPOV it is not passed through.
How do you reproduce the problem?
Just by using the CodeEditor component like
<CodeEditor
...
loading={<Spinner />}
/>
the spinner is not shown and Loading.. text is shown instead
Expected behavior
To see whatever the component defined on loading property while loading the editor
Is this issue blocking you? it is not
Screenshots
What is your environment?
- OS: Fedora 40
- Browser Firefox, chrome
- Version -
What is your product and what release date are you targeting? HCM and 25Q1
Any other information? none