on 11-02-2017 8:46 AM
Hello,
I built a demo application with Lumira 2.0 Designer and I´m facing a problem when resizing the screen. The adaptive layout component arranges the elements correctly but when resizing the window to "small" (on desktop) my tiles arrange vertical and the tiles at the bottom aren´t visible to the user anymore. By default there is also no option to scroll down. So I was searching for a solution and did the following:
Created a panel and inserted the adaptive layout component there.
Create CSS class:
div.zenborder div.scroll-y
{ /* do not allow X scroll */ overflow-x: hidden !important; /* allow Y scroll */ overflow-y: scroll !important;
I also assigned the CSS class to the panel.
Please see the attached screenshots for the result...
Any ideas how to fix this?
Thanks in advance!
Content:
CSS:
Panel with assigned CSS Class:
Result large:
Result medium:
Result small: (as you can see I´m not able to scroll down to see the 4th tile completely)
I fixed this - changed the css to the following:
div.zenborder div.scroll-xy {
/* allow X scroll */
overflow-x: scroll !important;
/* allow Y scroll */
overflow-y: scroll !important; }
Now when I open the report (locally or on BIP within Lumira Designer) and resize the window the scrollbar appears.
I realised when I open the report within the BI Launchpad the scollbar doesn´t appear even when resizing the window.
Any idea how to get this working also on the BI Launchpad?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mario,
I have encountered the same requirement before and successfully applied the exact same CSS shown above for class scroll-y. In your case however, I have noticed that although you have defined scroll-y in the CSS, you have actually assigned class scroll-xy as the Panel CSS Class property value instead of scroll-y. Perhaps this is a typo?
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Burcu,
you can solve this by using css (like described above) or use Lumira 2.1. There is a new component called "scrollable container".
Hope this helps!
Best regards,
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I faced the same problem as I am trying to implement my site madhustamps and here the answers helped me.
Thankyou for the post and sharing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On desktop if you resize the browser it will show up
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mario,
Is there any update on this, can you fix the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem seems to be with the class you are using. On BI Launchpad I have noticed that sometimes different class is used (.sapUiLayoutAbsOvrflwYHidden) and therefore the scrollbar is still hidden.
The most reliable solution that I have found is to use CSS Styles field, instead of CSS Class and just input
/* do not allow X scroll */
overflow-x: hidden !important;
/* allow Y scroll */
overflow-y: scroll !important;
This seem to work both in Local Mode and on BI Platform.
Hello,
I realised that the script is actually working - but ONLY on mobile devices (in my case iphone). On the desktop I have no option to scroll - there´s also no visible scrollbar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mustafa,
thanks for sharing your thoughts. You are right in the screenshot the name is different - I corrected this with the same result -> no scrollbar visible.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.