patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Bug - CodeEditor - loading component not passed to Editor

Open Ginxo opened this issue 1 year ago • 0 comments

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 Screenshot from 2024-09-20 11-36-43

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

Ginxo avatar Sep 20 '24 09:09 Ginxo