ng2-semantic-ui icon indicating copy to clipboard operation
ng2-semantic-ui copied to clipboard

dimming sui-modal

Open shaili123 opened this issue 7 years ago • 3 comments

hi, I'm trying to use sui-modal and I can't understand how can I control the dimming. The dimmer is inside the sui-modal so i can't control the [is-dimmed] attribute. My final purpose is to the dimming to be depended on a variable in the ts file.

Thanks.

shaili123 avatar Jul 01 '18 08:07 shaili123

UPDATE: I'm working with sui-dimmer instead. Is there an option to make an overlay section above it? so i can click it when the screen is dimmed but the dimmer won't close.

Thanks.

shaili123 avatar Jul 02 '18 07:07 shaili123

@shaili123 - I think you can just use the [isClickable]="false" attribute, unless that isn't what you actually need? (Documentation here: https://edcarroll.github.io/ng2-semantic-ui/#/modules/dimmer)

gabrieldoty avatar Jul 12 '18 03:07 gabrieldoty

that isn't it, I'll explain: I'm tying to create a dialog that closes when you click outside of it but not on the dialog itself. I'm not using the modal because I need an option to open it again after it was closed.

Thanks, Shai.

shaili123 avatar Jul 12 '18 12:07 shaili123