openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Draggable MessageBox

Open MauroLuque opened this issue 4 years ago • 1 comments

This is not a bug, this is a feature request.

OpenUI5 version: 1.93

Steps to reproduce the problem:

  1. Open any MessageBox.

What is the expected result? Being able to drag the MessageBox on the screen to see the content behind it.

What happens instead? The MessageBox cannot be moved.

Any other information? (attach screenshot if possible) Using the UI5 Inspector Chrome extension, to change the draggable property, the MessageBox can be moved around the screen without any problems. image

MauroLuque avatar Apr 04 '22 19:04 MauroLuque

Hi @MauroLuque,

sap.m.MessageBox and sap.m.Dialog are different in this case. sap.m.MessageBox internally creates the sap.m.Dialog which is not configurable. The idea of the class is to provide easier way for usage of sap.m.Dialog with some specific sap.m.DialogType.Message.

To use the full API of sap.m.Dialog you can use it instead of sap.m.MessageBox.

Regards, Nayden

nnaydenow avatar Apr 05 '22 11:04 nnaydenow