on 07-09-2015 7:08 AM
Hi, the above image is the lower right corner of my ui5 application and I have inspected too many elements with chrome debugger and i still can't understand where and why that scrollbar (marked as yellow on the right side of the image) is generated. I can see a gray area (marked as yellow on the bottom of the image) behind my app.
Is this a known issue or do i have some css inconsistencies somewhere? I can't see it being the later one because if i inspect the top most element of my html which is <html class = "sap-desktop sapUiTheme-sap_bluecrystal sapUiMedia-Std-Tablet" etc...> then the gray area seems to be even higher in the hierarchy or outside the pages HTML.
Hopefully someone can shed some light in this.
I used the approach described in the documentation. It works for me.
SAPUI5 version 1.38.41
https://sapui5.hana.ondemand.com/1.38.41/#docs/guide/3b9d9f84930d43df90ad0789d99bd4a3.html
In order to make the fullscreen height of the view work properly, we add the displayBlock attribute with the value true to the view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi German,
Add this style in your CSS.
body{
margin-top: 0px !important;
margin-right: 0px !important;
margin-left: 0px !important;
margin-bottom: 0px !important;
}
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the structure of your layout? Did you use the standard App > Page > View hierarchy, or did you use a different approach?
Also, did you set a (CSS) height somewhere?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, "normally" -- i.e. in responsive applications -- there is no need to set a height. Would your design break if you remove the manually added heights (either in your code or in CSS)?
EDIT: The maximum height -- that is, one without scrollbars -- is generally catered for by the UI5 framework (the App-Page combo)
I had the same problem. I'm using the Component -> App -> View model. The solution was to set the height for the App to 99.75%. It's probably some bug, since my code is the same as in official OpenUI5 Explored
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.