openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

[me.Calendar] wrong style attribute

Open dvorpahl opened this issue 12 years ago • 10 comments

OpenUI5 version: (sap.ui.version =) "1.18.8" Browser/version (+device/version): w32/ "Google Chrome 33.0.1750.146 m"

Steps to reproduce the problem:

  1. used "me.Calendar" (monthview)
  2. view resulting code
  3. find "<div class="sapMeCalendarMonth sapMeCalendarMonthNotSingle" style="width:Infinity%"> ... </div>"

What is the expected result? "width: 100%" is expected

What happens instead? wrong style attribute was added .. "width: Infinity%" is inadmissible.

dvorpahl avatar Mar 12 '14 11:03 dvorpahl

Hi dvorpahl,

sap.me should not be a part of openUI5 - if you found it in our files, please help us find it - it should not be there.

This being a sapUi5-Bug and not an openUI5 issue, you should open a normal SAP support ticket. If you do not want to do that, I can do that for you and report back here when the problem is fixed - just tell me and I will create the ticket internally.

Best regards, Jens

sirion avatar Mar 12 '14 12:03 sirion

hi jens, it's right, i'm using the sapui5. i ask on scn how to report bugs and was referenced to the issuetracker on github. i would be grateful to you if you report the bug and send me feedback and additional information to open issue reports on "sapui5" (sap support tickets)

Thanks a lot! Danilo.

dvorpahl avatar Mar 12 '14 12:03 dvorpahl

Hi Danilo,

I created an internal ticket for you.

I could explain how to do that, but that wouldn't help since the customer support works differently. In order to open a customer ticket you should use the SAP CSS tool. I'm sorry I cannot tell you more - I have never used that tool from the customer side, your in-house-SAP-expert should be able to tell you more.

As soon as I hear back from my colleagues, I will report back here.

Best regards, Jens

sirion avatar Mar 12 '14 13:03 sirion

Internal reference: 0000078827 2014.

akudev avatar Mar 26 '14 16:03 akudev

Hi Danilo,

the colleagues tell me they cannot reproduce the issue. please provide a code sample that show the problematic behavior.

regards, Jens

sirion avatar Apr 03 '14 06:04 sirion

i'll try. in the XML i used this:

<Calendar xmlns="sap.me" id='cal' tapOnDate="calTapOnDate" ></Calendar>

to create a calendar, you see - the screenshot shows the rendered calendar in google chrome with the resulting HTML..

sapui5-cal_width_issue

console output of "sap.ui.version" --> "1.18.8"

dvorpahl avatar Apr 14 '14 13:04 dvorpahl

Ah, thanks, I found a way to reproduce it like this now! I'll let the colleagues know.

akudev avatar Apr 14 '14 14:04 akudev

According to the colleagues, this is simply an issue with the default value for the "monthsPerRow" property. If you set it to 1 instead of using the default value, it will work. The default value will be changed in the next release.

sirion avatar May 19 '14 13:05 sirion

Thanks, it works!

Beste Grüße Danilo Vorpahl

dvorpahl avatar May 19 '14 14:05 dvorpahl

By the way: "next release" probably does not mean "next patch, but 1.22. But until then, the easy workaround from above can be used.

akudev avatar May 26 '14 15:05 akudev