Sage / carbon

Carbon by Sage | ReactJS UI Component Library
https://carbon.sage.com
Apache License 2.0
278 stars 85 forks source link

Dialog does not pass enableBackgroundUI to Modal #6023

Open markgoproposal opened 1 year ago

markgoproposal commented 1 year ago

Current behaviour

The Dialog component does not pass the accepted prop enableBackgroundUI to Modal to control the behaviour of the Modal underlay.

image

Expected behaviour

Modal underlay should be controlled by enableBackgroundUI when provided to the Dialog component.

CodeSandbox or Storybook URL

https://codesandbox.io/s/stoic-gauss-w1nsnd

JIRA Ticket (Sage Only)

No response

Suggested Solution

No response

Carbon Version

118.2.0

Design Tokens Version

2.65.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

What Operating System are you seeing the problem on?

MacOS, Windows

Anything else we should know?

No response

Confidentiality

nicktitchmarsh commented 1 year ago

FE-5889