Loader is not visible in a Modal
See original GitHub issueBug Report
Steps
Place a Loader component in a Modal Content component
Expected Result
Spinning Loading Icon.
Actual Result
Icon not visible
Version
0.82.2
Testcase
Taken from the Modal Example:
import React from 'react'
import { Button, Header, Image, Loader, Modal } from 'semantic-ui-react'
const ModalModalExample = () => (
<Modal trigger={<Button>Show Modal</Button>}>
<Modal.Header>Select a Photo</Modal.Header>
<Modal.Content image>
<Image wrapped size='medium' src='https://react.semantic-ui.com/images/avatar/large/rachel.png' />
<Modal.Description>
<Header>Default Profile Image</Header>
<p>We've found the following gravatar image associated with your e-mail address.</p>
<p>Is it okay to use this photo?</p>
<Loader active inline='centered' />
</Modal.Description>
</Modal.Content>
</Modal>
)
export default ModalModalExample
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
loader in bootstrap modal not displayed when uploading file ...
When the code is executed, the selected file is being uploaded but the loader_1.gif is not displayed. Also the button is not released...
Read more >Show loading indicator on top of modal - MDBootstrap
This is caused by this, that the modal has higher z-index than your indicator. Please put your loading indicator within the div with...
Read more >Loading / Preparing jQuery in a modal that is not shown
Loading / Preparing jQuery in a modal that is not shown. I'm using the Bootstrap DateTimePicker in a project with Vue.JS. This has...
Read more >JavaScript - Bootstrap
Multiple open modals not supported. Be sure not to open a modal while another is still visible. Showing more than one modal at...
Read more >Modal - Ant Design
Modal dialogs. ... Use confirm() to show a confirmation modal dialog. ... confirmLoading, Whether to apply loading visual effect for OK button or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s a known CSS issue: https://github.com/Semantic-Org/Semantic-UI/issues/4014
There is also a workaround:
If you want to apply @layershifter’s workaround to all modals without the extra css class: