openui5
openui5 copied to clipboard
sap.ui.Device.resize: height and width are wrong
Dear UI5-Team,
in Chrome debugger, any phone, the values for height and width in sap.ui.Device.resize are wrong.
Inside a function that is attached to Device.resize.attachHandler(...) the values are right. Can the resize values only be checked that way?
OpenUI5 version: 1.60.5
window.screen.width + height is what I was looking for