<Modal dimmer={{scrolling: true}} /> is not working

Author: GeoDazCreated Feb 21, 2025Updated Aug 22, 2026

Bug Report

Filling the props dimmer?: SemanticShorthandItem with {scrolling: true} is not working, the class scrolling doesn't appear on the body element

Steps

Just create this component : <Modal dimmer={{scrolling: true}} />

Expected Result

The body get the "scrolling" class.

Actual Result

The body only has "dimmable dimmed" class.

Version

    "semantic-ui-css": "^2.5.0",
    "semantic-ui-react": "^2.1.0",

Testcase

Minimal reproduction : https://github.com/GeoDaz/bug-semantic-ui-scrolling-dimmer I didn't make the fork due to dependency errors

Source: Semantic-Org/Semantic-UI-React