[MGNLUI-6978] Property DialogDefinition#light is ignored Created: 09/Dec/21  Updated: 09/Dec/21

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Steps to reproduce

  1. Open any dialog https://demo.magnolia-cms.com/.magnolia/admincentral#app:pages-app

Expected results

As the default for property light=true, I should still be able to interact with the underlying app, according to documentation: https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition.html#_dialog_properties

Actual results

The dialog is always modal, despite any value of the light property.

Workaround

Extend openDialogAction and call DialogBuilder#modal accordingly.

Development notes

After a fix, to retain compatibility, set DialogDefinition#light=false.


Generated at Mon Feb 12 09:41:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.